Wednesday 23 November 2011

lock / unlock account user id on HP-UX trusted Systems: How to ?

/usr/lbin/getprpw useraccount

unlock / enable / reactivate:
/usr/lbin/modprpw -k useraccount

lock / expire password:
/usr/lbin/modprpw -e useraccount

Note : Do not use a capital E, as it will expire the password on all user accounts.

No comments:

Post a Comment