Unlock/Reset User Account

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.

Quick Start

Switch to another user

1
2
3
$ su - userprd
3004-303 There have been too many unsuccessful login attempts; please see
the system administrator.

Reset the unsuccessful login counter

1
# chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s userprd 

Unlock the user as well

1
# chuser "account_locked=false" userprd