189
•
The system stops recording history passwords after you execute the
undo password-control history
enable
command, but it does not delete the prior records.
Related commands:
display password-control
and
password-control enable
.
Examples
# Enable the password control feature globally.
<Sysname> system-view
[Sysname] password-control enable
# Enable the password composition restriction function.
[Sysname] password-control composition enable
# Enable the password aging function.
[Sysname] password-control aging enable
# Enable the minimum password length restriction function.
[Sysname] password-control length enable
# Enable the password history function.
[Sysname] password-control history enable
password-control enable
Syntax
password-control enable
undo password-control enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the
password-control enable
command to enable the password control feature globally.
Use the
undo password-control enable
command to disable the password control feature globally.
By default, the password control feature is disabled globally.
Only after the password control feature is enabled globally, do the password control functions take effect.
Related commands:
display password-control
.
Examples
# Enable the password control feature globally.
<Sysname> system-view
[Sysname] password-control enable