< Home

password (local user view)

Function

The password command configures the password of a local user.

The undo password command deletes the password of a local user.

Format

password password

undo password

Parameters

Parameter Description Value
password Specifies a ciphertext password.
  • The value is a string that contains 1 to 16 characters and is saved in 32-character cipher text.
  • The password complexity depends on the level command. The configured password that does not meet the complexity requirement is valid.
Please keep the character string you entered safe for your next login.

Views

Local user view

Default Level

2: Configuration level

Usage Guidelines

If local authentication is used, configure the password for a local user.

Example

# Set the password of user test to Admin@123.

<sysname> system-view
[sysname] user-manage user test
[sysname-localuser-test] password Admin@123
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >