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 5858 times since Mon, May 21, 2018
IP configuration in AIX
Viewed 4089 times since Tue, Jul 17, 2018
AIX Full memory dump configure
Viewed 4191 times since Mon, Jul 16, 2018
How to Maintain a Virtual I/O Server With FBO Part II
Viewed 11398 times since Wed, Jun 5, 2019
AIX POWERHA/HACMP: Basic commands
Viewed 6642 times since Sat, Jun 2, 2018
AIX Cloning a rootvg using alternate disk installation
Viewed 12716 times since Sun, Jun 30, 2019
Manages processor scheduler tunable parameters schedo AIX
Viewed 3388 times since Thu, Sep 20, 2018
View mksysb content & restore individual files
Viewed 2707 times since Tue, Jul 17, 2018
HMC: HMC and LPAR management commands
Viewed 8931 times since Sun, Jun 3, 2018
vfcpmap on VIO Server
Viewed 10618 times since Tue, Jun 4, 2019