H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7

User Account Configuration
Modifying User Accounts and Passwords
14 59272-00 C
Modifying User Accounts and Passwords
Only the admin account can modify a user account, delete a user account, or
change the password of another user account. However, all user accounts can
change their own passwords. The User command modifies and deletes user
accounts. The Passwd command changes passwords.
The following example removes the expiration date and admin authority for the
user account named user1.
H3C (admin) #> user edit
Press 'q' and the ENTER key to abort this command.
account name (1-15 chars) : user1
set account expiration in days (0-2000, 0=never): [0]
should this account have admin authority? (y/n): [n]
OK to modify user account 'user1' with no admin authority
and to expire in 0 days?
Please confirm (y/n): [n]
The following example deletes the user account named user3.
H3C (admin) #> user delete user3
The user account will be deleted. Please confirm (y/n): [n] y
In the following example, the admin account changes the password for the user
account named user2.
H3C #> admin start
H3C (admin) #> passwd user2
Press 'q' and the ENTER key to abort this command.
account OLD password : ********
account NEW password (8-20 chars) : ********
please confirm account NEW password: ********
password has been changed.