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
n a perfect world....rootvg would always reside on hdisk0
Viewed 1931 times since Thu, Jun 6, 2019
Mirroring session (TTY) on AIX using portmir
Viewed 8694 times since Thu, Feb 21, 2019
Calculate hdisk READ / WRITE throughput (sequential IO) from AIX systems
Viewed 2191 times since Thu, Feb 21, 2019
How to upgrade TL and SP in AIX using alternate disk(alt_disk_copy)
Viewed 9322 times since Sun, Jun 30, 2019
My LPAR always boots into SMS. Why?
Viewed 3067 times since Tue, Apr 16, 2019
Getting list users and groups in AIX
Viewed 2770 times since Mon, May 28, 2018
LVM: Display basic information about Physical Volumes, Volume Groups and Logical Volumes
Viewed 2584 times since Sun, Jun 3, 2018
Customizing a NIM Client Restore With a Post-Install Script
Viewed 10487 times since Wed, May 30, 2018
Troubleshooting Starts With Understanding Your Physical Disks’ Attributes
Viewed 3321 times since Sat, May 19, 2018
AIX, Security, System Admin↑ Generating random passwords
Viewed 2539 times since Fri, Apr 19, 2019