How Allow root password to expire
Our government customer has expressed that our RHEL 5 root account must have an expiration date. He observed our /etc/shadow file and found that root account is set to 99999 (many many years). How can I safely set the root password to expire after 90 days?
A million thanks Johnny Mac Very new to Linux and don't want to mess up the root account |
Go through the man page of the shadown file
#man shadow You will find all the details of the shadow fields. Regards. |
http://linux.die.net/man/1/chage
Quote:
See also http://linux.die.net/man/5/login.defs for defaults |
Yes, chage will write to the same shadow file. Thanks.
|
All times are GMT -5. The time now is 07:09 AM. |