Reset & Unlock User due to Failed Login in AIX



Symptom

If there are too many unsuccessful login attempts in AIX or in other operating systems may lead to account locked. If this happened in your AIX operating system, you need to reset and unlock the user account.

xxxx-xxx There have been too many unsuccessful login attempts; please see
the system administrator.

Solution

1. Logon to system as root and run the following command to reset the unsuccessful login count to 0

chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s <User_ID>

2. Unlock the user as well.

# chuser "account_locked=false" <User_ID>

Related posts

Mount ISO Image in AIX
slibclean: Removes AIX Unused Kernel & Library Memory Modules
AIX: Cannot Open or Remove a File Containing a Running Program
Disable Sendmail in AIX

Any Comment?

© 2014 ITsiti. All Rights Reserved
Powered by KEEM