On a Solaris system using nisplus password administration, the command:
will show you the password aging information for your account.
It appears that HP/UX has a similar feature, but the online HP/UX passwd(1) man page in the Man Pages tab in this forum seems to be mangled, so I can't tell you what options you need to use to get it nor what restrictions apply to unprivileged users accessing that data.
Looking for the -s option in output from the command man 1 passwd on your HP/UX system may help you find what you want.
Robin,
One reason for wanting to know when my password will expire is that some system administrators set up password aging requiring that a password be changed every six months and you may want to check to be sure that your password won't expire while you're out of the office on vacation for a couple of weeks.
It can also be used as a sanity check to see when your password was last changed. If you find that it changed recently and you didn't do it, it is confirmation that your account has been modified by someone (even if they restored your original password so you can still login).
This User Gave Thanks to Don Cragun For This Post:
Hello Team,
I am using Lubuntu & have DRBL remote boot setup with open Ldap authentication. Currently there is no password expire policy. I want to set Password Policy so that user's password will expire after a month & they will get prompt to change their password.
Using PAM we can do it,... (1 Reply)
Hi Admins,
AIX 5.3
I know maxage value tells the system about password expiration policy.
One of the user's maxage is 5 weeks.But he changed the password long backup at 2008 according to lastupdate value.
Since maxage is 5, the password should expire every 5 weeks.But how come... (4 Replies)
Hello,
I want to write a script to check for the password expiration date in each server for the user by logging to each server and notify user through mail. If password is about to expire or if already expired , it should also be notified to user by mail. Any help or idea to build this will be... (1 Reply)
Hi,
How to check user account expiration account in user mode for SunOS 5.10?
In Linux I can use chage command.
I googled for answer for the problem but it was useless.
Oskar (9 Replies)
Hi All,
I have this user on my /etc/shadow:
mysql:$1$vmw4r078$4.lp6z2s0KJYHKXTuPG2x0:13556:0::12:::
The 5 column is blank. Does it mean the user has no password expiration.
Thanks in advance for any idea. (1 Reply)
Hello
can anyone explain where can be found logic for user password expiration on solaris as well as on reliant UNIX??
there is not much help of /etc/security directory..does not exist!
any help? (3 Replies)
We are trying to implement an Password Aging system that will force UNIX Accounts to change their passwords every 3 mons or so. This will be done my our Server Support Provider.
We want to identify UNIX IDs that connects to our server via ftp,scp,sftp and other special connection protocols. IN... (2 Replies)
Hi,
Anyone know the command which identifies how long a user has before their password expires?
I also need to know how I would write and expr to calculate the difference between 2 dates.
e.g. 28/03/05 - 18/03/05 = 10
I was told there is a date function which shows you no of days since... (1 Reply)