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
VIO Server Howto
Viewed 11485 times since Mon, Jun 11, 2018
Do you Know These 5 Use of V$session View ?
Viewed 159900 times since Thu, Jun 21, 2018
AIX - How to unlock and reset user’s account
Viewed 18738 times since Fri, Jun 8, 2018
AIX Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 11388 times since Wed, May 22, 2019
Tips I Picked up at the Power Systems Technical University
Viewed 4224 times since Mon, Jun 11, 2018
AIX, Red Hat, Security, System Admin↑ System-wide separated shell history files for each user and session
Viewed 3123 times since Fri, Apr 19, 2019
AIX snap - Prevent dump collection
Viewed 13059 times since Mon, Sep 17, 2018
How to know witch process is running in a particular port on AIX using KDB
Viewed 13719 times since Thu, Nov 29, 2018
AIX PDF ALL
Viewed 7563 times since Mon, Jul 16, 2018
Oslevel shows wrong AIX’s level. Why
Viewed 5611 times since Thu, Feb 21, 2019