local-user password-force-change disable

Function

The local-user password-force-change disable command disables the function of forcibly changing the initial password.

The undo local-user password-force-change disable command enables the function of forcibly changing the initial password.

By default, local users must change their initial passwords.

Format

local-user user-name password-force-change disable

undo local-user user-name password-force-change disable

Parameters

Parameter Description Value
user-name

Specifies the user name.

The value is a string of 1 to 253 case-insensitive characters without spaces. If the value includes @, the characters before @ are the user name and the characters after @ are the domain name. If the value excludes @ or the domain name does not exist, the entire string is the user name and the user belongs to the default domain. A user name cannot contain two or more @s.

When the user security policy is configured, the value is a string of 6 to 253 characters. When the user security policy is not configured, the value is a string of 1 to 253 characters.

The user name cannot contain spaces or the following special characters: /, \, :, *, ?, ", <, >, |, @, ', %.

password-force-change

Disabling forcible password change upon first login.

-

Views

AAA view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

Default users and new administrators must change their initial passwords during login. The local-user disable command disables the forcible initial password change function for a specified user.

Example

# Configure the local user Root_123 not to change the initial password.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] local-user Root_123 password irreversible-cipher huawei_123
[~HUAWEI-aaa] local-user Root_123 password-force-change disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >