< Home

reset local-user password history record

Function

The reset local-user password history record command clears historical passwords stored for the local user.

Format

reset local-user [ user-name ] password history record

Parameters

Parameter Description Value

user-name

Clears the historical passwords of the specified user.

If this parameter is not specified, the historical passwords of all local users are cleared.

The local user must exist on the device.

Views

AAA view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If the administrator wants to record historical passwords of local users again, this command can be used to clear existing historical passwords.

Precautions

After this command is used, all historical passwords on the device are deleted and cannot be restored. This operation has security risks, so exercise caution when using it.

Example

# Clear historical passwords of all local users.

<HUAWEI> system-view
[HUAWEI] aaa
[HUAWEI-aaa] reset local-user password history record
Warning: Clear history password records, there is a security risk. Continue?[Y/N] y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >