For example, if the password is lost multiple times and the locked prompt is displayed
Password:
530-there have been too unzip unsuccessful login attempts; please see
The system administrator.
The related configuration parameters are the following configuration items of/etc/security/login. cfg.
Logindisable = 7*7 failed logons lock the port
Logininterval = 120 * The port is locked only when logininterval fails 7 times within 120 seconds.
1. If you can log on to the root account, it is relatively simple.
You can use the chsec command to unlock the instance, as shown in the following code:
# Chsec-F/etc/security/lastlog-A unsuccessful_login_count = 0-s Username
Unlock by resetting the number of unsuccessful logins
2. if the user is locked by settings, the user can be unlocked 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. Unlock commands
# Chuser account_locked = true username lock the user
# Chuser accout_locked = false username unlock the user
[Share] locking and unlocking an AIX User Account