Parameters
delay: Specifies the maximum number of days during which a user can log in using an expired password.
It must be in the range of 1 to 90.
times: Specifies the maximum number of times a user can log in after the password expires. The value
range is 0 to 10. 0 means that a user cannot log in after the password expires.
Examples
# Specify that a user can log in five times within 60 days after the password expires.
<Sysname> system-view
[Sysname] password-control expired-user-login delay 60 times 5
Related commands
display password-control
password-control history
Use password-control history to set the maximum number of history password records for each user.
Use undo password-control history to restore the default.
Syntax
password-control history max-record-num
undo password-control history
Default
The maximum number of history password records for each user is 4.
Views
System view
Default command level
2: System level
Parameters
max-record-num: Specifies the maximum number of history password records for each user. The value
range is 2 to 15.
Examples
# Set the maximum number of history password records for each user to 10.
<Sysname> system-view
[Sysname] password-control history 10
password-control length
Use password-control length to set the minimum password length.
Use undo password-control length to restore the default.
Syntax
password-control length length
undo password-control length
223