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>

You May Also Like

2 Comments

Leave a Reply?