Steps for unlocking
user accounts:
1. Check if the account is
locked in the first place using the following command:
/usr/lbin/getprpw username
Check the lockout field. If any of the
bits is a 1 instead of 0 then that implies that
Account is locked..
2. Type the following command to unlock the
account:
/usr/lbin/modprpw -k username
3. Type the following command to extend the
user’s password by 90 days if it’s
expired
/usr/lbin/modprpw -v
username
To change user’s
password:
Type the following command:
passwd
username
No comments:
Post a Comment