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 POWERHA/HACMP: Basic commands
Viewed 5611 times since Sat, Jun 2, 2018
How to check VLAN ID number on AIX?
Viewed 14130 times since Mon, May 28, 2018
Customizing a NIM Client Restore With a Post-Install Script
Viewed 11150 times since Wed, May 30, 2018
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 4656 times since Fri, Jul 6, 2018
Part 1, Network overview - Monitoring the hardware
Viewed 5466 times since Mon, Jun 4, 2018
AIX - How to extend JFS filesystem
Viewed 19563 times since Fri, Jun 8, 2018
HOWTO: Implement SEA Failover with Dual VIOS
Viewed 8032 times since Tue, Jun 4, 2019
List AIX File Systems the Easy Way With the lsvgfs Command
Viewed 2312 times since Thu, Sep 20, 2018
HMC: HMC and LPAR management commands
Viewed 7458 times since Sun, Jun 3, 2018
AIX, Installation, NIM↑ Creating an LPP source and SPOT in NIM
Viewed 15199 times since Fri, Apr 19, 2019