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

Lock & Unlock User in AIX
Find the Size of Memory DIMMs in AIX
Mount ISO Image in AIX
Get the Access Control Information of a File in AIX
© 2014 ITsiti. All Rights Reserved
Powered by KEEM