How to : Change Password Expiration Policy in Solaris
Hello
any one have any idea for Changing Password Expiration Policy in Solaris Thanks Varang |
Quote:
/etc/default/passwd is the file related to password aging. Edit that file to suit your needs. |
In etc shadow you should have a line for each user that looks something like this:
bob:uQI6r6XZeYL3s:14186:7:60:28::: explanation: username : password hash:date password was set : Min password days: max password Days: warning days : inactive : Expire : Flag These values are pulled out of /etc/default/passwd as TB0ne indicated however can be overwritten by editing /etc/shadow directly. in /etc/default/passwd you should have something like this: MAXWEEKS=9 MINWEEKS=1 WARNWEEKS=2 PASSLENGTH=6 |
Quote:
If you want to change what users are currently set to, use the passwd command, and specify the new values. |
All times are GMT -5. The time now is 03:49 AM. |