Unlock User ID in IBM AIX

AIX Version: 5.3.0.0

Note: Required root or sudo access to perform this function.
To unlock an user that’s locked from several unsuccessful login attempts, follow the steps below. Replace <userid> with userid that needs to be unlocked in below.

If the user remembers the old password, skip this step and go to next. Else, execute the following command to reset the password and will be asked to enter the new password twice to confirm.
# passwd <userid>
or
$ sudo passwd <userid>

Execute the following command to reset unsuccessful login attempts count
# chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>
or
$ sudo chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>

Execute the below command to reset the lock switch
# chuser account_locked=false <userid>
or
$ sudo chuser account_locked=false <userid>

 
 
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Install and configure GNU watch (gwatch) on AIX
Viewed 8047 times since Thu, Feb 21, 2019
ILMT Procedure - ILMT / TAD4D / SUA / BFI
Viewed 10474 times since Fri, Jul 5, 2019
AIX Oracle tuning
Viewed 230502 times since Tue, Jul 2, 2019
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 131189 times since Thu, Jun 21, 2018
Got Duplicate PVIDs in Your User VG? Try Recreatevg!
Viewed 3922 times since Fri, Feb 1, 2019
AIX Power replacing (hot-swap) failed disk in rootvg
Viewed 3908 times since Tue, Apr 16, 2019
Script to show Total, Free and Used Memory on AIX
Viewed 3610 times since Thu, Nov 29, 2018
AIX, Monitoring, Networking, Red Hat, Security, System Admin↑ Determining type of system remotely
Viewed 2560 times since Fri, Apr 19, 2019
Part 3, Tuning swap space settings AIX7
Viewed 9266 times since Wed, Jun 19, 2019
n a perfect world....rootvg would always reside on hdisk0
Viewed 2508 times since Thu, Jun 6, 2019