In keeping with the space theme, I will be using earth as the server's hostname and man as the name of the user account.
This the most common way to unlock your account.
root@earth> passwd -u man
Change the expiration date of the user account
root@earth> usermod --expire 9999 man
This works on some systems
root@earth> ipa user-unlock man
This resets the account if all else fails.
root@earth> pam_tally --user=man --reset
References.
www.cyberciti.biz
From RHEL user-unlock command
SuperUser pam command
No comments:
Post a Comment