Change local user passwords on S series switch

Publication Date:  2016-11-21 Views:  1442 Downloads:  0
Issue Description
Change local user passwords on S series switch.
On an S series switch, except S1700, there are two methods to change the local user password:
- The administrator can change passwords for other local users.
A local user can change the attributes (including password, level, max access number, and validity period) for the local users with lower levels.
For example, to change the password of local user admin to huawei@123.
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin password cipher huawei@123
- The local user changes its own password.
To ensure password security, a low-level administrator can run the local-user change-password command after passing authentication to change its own password.
<HUAWEI> local-user change-password
Please configure the login password (8-128)
It is recommended that the password consist of at least 2 types of
characters, including lowercase letters, uppercase letters, numerals
and special characters.
Please enter old password: //Enter the old password.
Please enter new password: //Enter the new password.
Please confirm new password: //Confirm the new password.
- Only the users passing local authentication can change their own passwords.
- The local-user change-password command only changes local user passwords, but does not save configurations. The passwords are saved as local-user password.If you do not enter the old, new, or confirm password within the timeout interval (30 seconds), the password change operation is canceled. You can also press Ctrl+C to cancel the password change operation.