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 rootvg Mirroring
Viewed 4659 times since Mon, May 21, 2018
AIX: Script to check if all paths are consistent and available
Viewed 3361 times since Tue, Jun 12, 2018
AIX boot proccess
Viewed 3141 times since Tue, Apr 16, 2019
Do you Know These 5 Use of V$session View ?
Viewed 107055 times since Thu, Jun 21, 2018
Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems
Viewed 2731 times since Thu, Feb 21, 2019
AIX Creating EtherChannel Devices from Command Line
Viewed 3672 times since Mon, Jun 3, 2019
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 3716 times since Tue, Jun 14, 2022
Using splitvg in AIX to make a copy of a volume group
Viewed 8860 times since Mon, Jun 3, 2019
AIX smtctl The smtctl command controls the enabling and disabling of processor simultaneous multithreading mode.
Viewed 15264 times since Fri, Jan 18, 2019
A Change to the SMT Mode Default in POWER9
Viewed 5434 times since Fri, Jan 18, 2019