user-password change(AAA view)

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

AAA 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. A highest-level administrator can run the local-user password [ cipher irreversible-cipher ] command in the AAA 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 AAA view.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] user-password change
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >