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
0516-404 allocpThis system cannot fulfill the allocation
Viewed 9982 times since Thu, Sep 20, 2018
Problem on resizing volume group on AIX 0516-1714, 0516-792, 0516-787, and 0516-404
Viewed 2527 times since Fri, Jul 6, 2018
HOWTO: Copy a filesystem on AIX
Viewed 2400 times since Mon, May 28, 2018
Backing up your VIOS configuration with viosbr.
Viewed 11485 times since Mon, May 28, 2018
replacing (hot-swap) failed disk in rootvg
Viewed 9013 times since Thu, Sep 20, 2018
Firmware Assisted Dump sysdump
Viewed 1924 times since Mon, Jul 16, 2018
AIX oslevel version OS
Viewed 4813 times since Wed, Apr 17, 2019
Installing a Interim Fix (APAR IV16587)
Viewed 2868 times since Tue, Jul 17, 2018
Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems
Viewed 2585 times since Thu, Feb 21, 2019
Undocumented AIX command lquerypv
Viewed 3519 times since Mon, Jul 16, 2018