user-password change

Function

The user-password change command prompts a local administrator to change the initial password upon a second login.

The undo user-password change command cancels the configuration.

By default, a local administrator is not prompted to change the initial password upon a second login.

Format

user-password change

undo user-password change

Parameters

None

Views

Local AAA server view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

Usage Scenario

To prompt a local administrator to change the initial password that is configured by the highest-level administrator, run the user-password change command. The method of configuring an initial password varies in different views.

A highest-level administrator can run the user password [ cipher | irreversible-cipher ] command in the local AAA server view to set an initial password.

Prerequisites

A local user has logged in to the device as an administrator.

Configuration Impact

The user-password change command applies only to administrators. If an administrator does not change the initial password, the system prompts the administrator to change it upon each login. A local administrator can run the local-user change-password command to change the password.

Precautions

The user-password change command that is configured in the AAA view or local AAA server view takes effect only for users in the specific view and does not affect another in the other view.

Example

# Configure the system to prompt the administrator to change the initial password in the local AAA server view.
<HUAWEI> system-view
[~HUAWEI] local-aaa-server
[~HUAWEI-local-aaa-server] user-password change
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >