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 7.2 running on my Macbook?
Viewed 11735 times since Mon, Jun 3, 2019
How to clear/clean/erase/delete/reset network adapter configuration on AIX?
Viewed 11887 times since Thu, Nov 29, 2018
AIX Password expiry /etc/passwd
Viewed 16864 times since Wed, Jul 3, 2019
Create jfs2 logical volume on AIX
Viewed 3785 times since Thu, Feb 21, 2019
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 10294 times since Wed, Jun 5, 2019
HOWTO: Copy a filesystem on AIX
Viewed 1994 times since Mon, May 28, 2018
AIX ODM for MPIO User Guide 09
Viewed 3443 times since Mon, Dec 31, 2018
Trick to Purge/Clean Swap Usage on AIX
Viewed 6533 times since Thu, Nov 29, 2018
Practical Guide to AIX - network
Viewed 17108 times since Thu, Sep 20, 2018
Working with Virtual media library on VIO servers
Viewed 13031 times since Thu, Feb 21, 2019