Reset & Unlock User due to Failed Login in AIX



Share this article :

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

Determine the Installed AIX OS Version
slibclean: Removes AIX Unused Kernel & Library Memory Modules
AIX: Cannot Open or Remove a File Containing a Running Program
How to Locate File / Folder in AIX
© 2017 ITsiti. All Rights Reserved
Powered by KEEM