Tuesday, November 18, 2014

AIX Login Fail - unsuccessful login count reset:

unsuccessful login count reset:


If a user's unsuccessful login count reaches a max value (loginretries=<value>), the user is not enabled to login into the system.


1. check unsuccessful login count:
# lsuser -f user01
loginretries=3 
pwdwarntime=0
account_locked=false
unsuccessful_login_count=5                            <--it is higher than the max value

2. reset the login count:

chuser unsuccessful_login_count=0 user01    <--it will reset to 0 the number of unsuccessful login count

No comments:

Post a Comment