If you set the password control parameters for a super user, these settings will override the global
configuration. Otherwise, the global configuration will apply.
If you do not specify the type-length type-length keyword-argument combination, the global
setting is adopted.
Example
# Configure a password composition policy for a super user: a password must contain at least three
character types and at least five characters of each type.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] password-control super composition type-number 3
reset password-control history-record
Syntax
reset password-control history-record [ user-name user-name ]
View
User view
Parameter
user-name: Name of the user whose history password record will be deleted.
Description
Use the reset password-control history-record command to delete the history password records of
all users.
Use the reset password-control history-record user-name user-name command to delete the
history password record of a specific user.
Example
# Delete the history password records of all users
<Sysname> reset password-control history-record
Are you sure to delete local user's history records?[Y/N]
If you input "Y", the system deletes all the history password records of all users and gives the following
prompt:
All historical passwords have been cleared.
Updating user password, please wait............
# Delete the history password records of the local user test.
<Sysname> reset password-control history-record user-name test
Are you sure to delete local user's history records?[Y/N]
If you input "Y", the system deletes all the history password records of the specified user and gives the
following prompt:
All historical passwords have been cleared.
Updating user password, please wait............
1-12
type-length 5