Changing the Login Password on an HECS
Scenarios
This section describes how to change the password for logging in to an HECS when the password is about to expire, the password is forgotten, or you log in to the HECS for the first time. You are advised to change the initial password upon the first login.
Resetting an HECS Password on the Management Console is preferentially recommended.
Prerequisites
The target HECS can be logged in.
Background
Table 1 shows the HECS password complexity requirements.
| Parameter | Requirement | Example Value |
|---|---|---|
| Password |
| YNbUwp!dUc9MClnv NOTE: The example password is generated randomly. Do not copy this example password. |
Windows
- Log in to the HECS.
For details, see Login Overview.
- Press Win+R to start the Run dialog box.
- Enter cmd to open the CLI window.
- Run the following command to change the password (the new password must meet the requirements described in Table 1):
net user Administrator New password
Linux
- Log in to the HECS as user root.
For details, see Login Overview.
- Run the following command to reset the password of user root:
passwd
To reset the passwords of other users, replace passwd with passwd username.
- Enter the new password as prompted. Ensure that the new password meets the requirements described in Table 1.
New password: Retype new password:
If the following information is displayed, the password has been changed:passwd: password updated successfully
Last Article: Resetting an HECS Password on the Management Console
Next Article: NICs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.