HP 6125XLG R2306-HP 6125XLG Blade Switch Security Command Reference - Page 147
password-control super aging, Examples, Related commands, Syntax
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 147 highlights
• If not prohibited from logging in, a username is removed from the password control blacklist when the user logs in to the system successfully. The password-control login-attempt command takes effect immediately after being executed, and it can affect the users already in the password control blacklist. Examples # Set the maximum number of login attempts to 4 and permanently prohibit a user from logging in if the user fails to log in after four attempts. system-view [Sysname] password-control login-attempt 4 exceed lock Later, if a user fails to log in after four attempts, you can find it in the password control blacklist, with its status changed from unlock to lock: [Sysname] display password-control blacklist Username: test IP: 192.168.44.1 Login failures: 4 Lock flag: lock Blacklist items matched: 1. The user can no longer log in. # Set the maximum number of login attempts to 2 and prohibit a user from logging in within 3 minutes if the user fails to log in after two attempts. system-view [Sysname] password-control login-attempt 2 exceed lock-time 3 Later, if a user fails to log in after two attempts, you can find it in the password control blacklist, with its status changed from unlock to lock: [Sysname] display password-control blacklist Username: test IP: 192.168.44.1 Login failures: 2 Lock flag: lock Blacklist items matched: 1. After 3 minutes, the user is removed from the password control blacklist and can log in again. Related commands • display password-control • display password-control blacklist • reset password-control blacklist password-control super aging Use password-control super aging to set the expiration time for super passwords. Use undo password-control super aging to restore the default. Syntax password-control super aging aging-time undo password-control super aging 138