04-20-2009
Thanks TonyFullerMalv. I'll try that.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
under SUN Unix, in which file the expiry date of a user password is indicated ?
Many thanks. (2 Replies)
Discussion started by: big123456
2 Replies
2. AIX
Hi All,
Could anyone please help me with the command or script for checking the password expiry for a particular userid on AIX.
Regards,
Sanjay...:) (5 Replies)
Discussion started by: SanjayPasum
5 Replies
3. Solaris
Hi,
Is there any way of sending an email to a number of users indicating that the passwords of user accounts will expire?
Currently we have a test server with a number of oracle test accounts on it. Each of these accounts correspond to an instance of Oracle on the server. These... (2 Replies)
Discussion started by: sparcman
2 Replies
4. Solaris
Hi Gurus
I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails.
Resetting my password reenables the keys.
Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies
5. Shell Programming and Scripting
Hi,
Could someone please let me know how to write script for passwd expiry notification on salaries boxes.
Regards
Dnyan (1 Reply)
Discussion started by: dnyan
1 Replies
6. Solaris
Hi all.
On our systems we use the password expiry through the shadow file. This was recently implemented and the first round of expiry has just arrived.
The problem that i have is that when users are attempting to log on to a box (directory through putty) there are no prompts displayed if... (13 Replies)
Discussion started by: boneyard
13 Replies
7. Solaris
Hi
How do i disable password expiration on ldap?
It runs on Solaris 10 machine. Thanks in advance. (3 Replies)
Discussion started by: hrist
3 Replies
8. Shell Programming and Scripting
Hi, I'm trying to set password expiry notification. But unable to do so.
>I do not have permission for "passwd -s" on Sun OS(SunOS 5.9 Generic_122300-60 sun4u sparc SUNW,Sun-Fire-480R).
>Also tried "chage -l <username>" but it is not configured.
I'm just an appln user in that system. Could... (2 Replies)
Discussion started by: sam_bd
2 Replies
9. Shell Programming and Scripting
Hi All,
I want to write a script that will send the alert when linux server password expiry for user 'x' is less than 12 days.
I have written the below script but this is not working for expiry date 04 july
script;-
P_EXPIRY_DATE=`chage -l msdp| grep 'Password expires' | awk ' {... (2 Replies)
Discussion started by: abhigrkist
2 Replies
10. Red Hat
Hi Guys
In red hat linux server is there a way to alert via email when the root password is about to expire ?
As per security policy in our environment root password will expire in 90 days.
Example : It would be better if we receive a email on 7th november stating that the root password... (1 Reply)
Discussion started by: newtoaixos
1 Replies
LEARN ABOUT FREEBSD
logins
LOGINS(1) BSD General Commands Manual LOGINS(1)
NAME
logins -- display account information
SYNOPSIS
logins [-admopstux] [-g groups] [-l logins]
DESCRIPTION
The logins utility displays information about user and system accounts.
The following options are available:
-a Display information about the password change and account expiration times for each account.
-d Select accounts with duplicate UIDs.
-g groups Select accounts that are members of the specified groups. If multiple group names are specified, they must be separated with com-
mas.
-l logins Select accounts matching the specified login names. If multiple names are specified, they must be separated with commas.
-m Show information about secondary groups.
-o Display the information for each account on a single line of colon-separated fields.
-p Select accounts with no password.
-s Select system accounts. These are currently defined as accounts with UIDs below 1000, plus the ``nobody'' account (UID 65534).
-t Sort selected accounts by name rather than by UID.
-u Select user accounts. These are currently defined as accounts with UIDs above 1000, except the ``nobody'' account (UID 65534).
-x Display information about each account's home directory and shell.
If multiple selection options are specified, all accounts matching any of the selection criteria will be displayed.
If no selection options are specified, all accounts will be displayed.
SEE ALSO
getgrent(3), getpwent(3), group(5), passwd(5), pw(8)
HISTORY
The logins utility appeared in FreeBSD 4.10.
AUTHORS
The logins utility was written by Dag-Erling Smorgrav <des@FreeBSD.org> based on similar utilities in other operating systems.
BSD
March 6, 2004 BSD