Wednesday, March 16, 2016

How to remove password expiry in HPUX HP Unix

Requirement : To set never expire attribute on account password. Some applications/users are required to have same password for longer du... thumbnail 1 summary
Requirement :

To set never expire attribute on account password. Some applications/users are required to have same password for longer duration. This requires them to exit from system wide password expiry policy. So that those accounts can run lifetime without need of changing their passwords.

Image source : freeimages


How to do it :



/usr/lbin/modprpw -m exptm=-1  username
/usr/lbin/modprpw -m expwarn=-1  username
/usr/lbin/modprpw  -m lftm=-1  username
/usr/lbin/modprpw  -m mintm=-1  username



No comments

Post a Comment

Any thoughts?