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

Create User in AIX
Lock AIX Terminal Session
errpt: Generates a Report of Logged Errors
diag: Performs Hardware Problem Determination

Any Comment?

© 2014 ITsiti. All Rights Reserved
Powered by KEEM