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
AIX NTP Client configuration
Viewed 11950 times since Tue, Jul 17, 2018
Script HW/SW AIX
Viewed 9064 times since Mon, Jun 4, 2018
vfcpmap on VIO Server
Viewed 9456 times since Tue, Jun 4, 2019
AIX 7.2 running on my Macbook?
Viewed 12377 times since Mon, Jun 3, 2019
View mksysb content & restore individual files
Viewed 1825 times since Tue, Jul 17, 2018
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 4470 times since Fri, Jul 6, 2018
AIX Migrating from SDDPCM to AIXPCM (the easy way)
Viewed 19893 times since Mon, Dec 31, 2018
AIX: How to identify the program listening in the given port
Viewed 2406 times since Mon, Jun 11, 2018
AIX FC Performance improvements for IBM AIX FC and FCoE device driver stacks
Viewed 5714 times since Fri, Jan 31, 2020
AIX Not all filesets for 6100-07_AIX_ML were found
Viewed 2945 times since Tue, Jul 17, 2018