< Home

current-user password-modify

Function

The current-user password-modify command modifies the current administrator password.

Format

current-user password-modify

Parameters

None

Views

User view

Default Level

0: Visit level

Usage Guidelines

The administrator must be an AAA user.

When changing a password, note the following points:

  • The value is a string that contains 8 to 16 characters.
  • To enhance security, a password must meet the minimum strength requirements, that is, the password needs to contain at least three types of the following characters: uppercase letters (A to Z), lowercase letters (a to z), digits (0 to 9), and special characters, such as exclamation points (!), at signs (@), number signs (#), dollar signs ($), and percent (%).
  • The password cannot contain more than two identical characters in a row.
  • The password cannot be the same as the administrator name or reverse of the administrator name.

Before changing the password, enter the administrator password. If the entered administrator password is wrong for three times, the system logs out the current administrator. If you still want to change the password, relog in to the system.

Example

# Modify the current administrator password.

<sysname> current-user password-modify      
Please input current password:                                                  
Please input new password:                                                      
Please confirm new password:                                                    
 Info: Your password has been changed. Save the change to survive a reboot.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >