190
password-control expired-user-login
Syntax
password-control expired-user-login delay
delay
times
times
undo password-control expired-user-login
View
System view
Default level
2: System level
Parameters
delay
: Maximum number of days during which a user can log in using an expired password. It must be
in the range 1 to 90.
times
: Maximum number of times a user can log in after the password expires, in the range 0 to 10. 0
means that a user cannot log in after the password expires.
Description
Use the
password-control expired-user-login
command to set the maximum number of days and
maximum number of times that a user can log in after the password expires.
Use the
undo
password-control expired-user-login
command to restore the defaults.
By default, a user can log in three times within 30 days after the password expires.
Related commands:
display password-control
.
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
password-control history
Syntax
password-control history
max-record-num
undo password-control history
View
System view
Default level
2: System level
Parameters
max-record-num
: Maximum number of history password records for each user, in the range 2 to 15.
Description
Use the
password-control history
command to set the maximum number of history password records for
each user.
Use the
undo password-control history
command to restore the default.