AIX change password
Echo "username:passwd" | chpasswd
Pwdadm-c usename
-special characters need to be escaped
The Best method of locking and unlocking AIX user account
For example, the password has been typed wrong many times, and the prompt message after locking
Password:
530-There have been too many unsuccessful login attempts; please see
The system administrator.
The associated configuration parameters are the following configuration items for / etc/security/login.cfg
Logindisable=7 * Lock port after 7 failed logins
Logininterval=120 * Lock the port after 7 failed logins in 120 seconds
1. If you can log in to your ROOT account, it's relatively simple.
You can unlock it by using the chsec command, as follows:
# chsec-f / etc/security/lastlog-a unsuccessful_login_count=0-s username
The lock can be unlocked by resetting the number of unsuccessful logins
2. If the user is locked by setting, you can unlock it in this way
# [smitty user]-- > [Lock / Unlock a User's Account]
Or
# chsec-f / etc/security/lastlog-a unsuccessful_login_count=0-s username
3. Command unlock
# chuser account_locked=TRUE username locks users
# chuser accout_locked=FALSE username unlocks the user