Predefined user roles
network-admin
Parameters
max-record-num: Specifies the maximum number of history password records for each user. The value
range is 2 to 15.
Usage guidelines
When the number of history password records reaches the set maximum number, the subsequent history
record overwrites the earliest one.
The system stops recording passwords after you execute the undo password-control history enable
command, but the prior records still exist. To clear these records, use the undo password-control enable
command to disable the password control feature globally or use the reset password-control
history-record command to clear the passwords manually.
Examples
# Set the maximum number of history password records for each user to 10.
<Sysname> system-view
[Sysname] password-control history 10
Related commands
• display password-control
• password-control history enable
• reset password-control blacklist
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
Default
In non-FIPS mode, the global minimum password length is 10 characters. In FIPS mode, the global
minimum password length is 15 characters. In both non-FIPS and FIPS modes, the minimum password
length of a user group equals the global setting, and the minimum password length of a local user equals
that of the user group to which the local user belongs.
Views
System view, user group view, local user view
Predefined user roles
network-admin
144