Help Center>
Elastic Cloud Server>
FAQs>
Passwords and Key Pairs>
Passwords>
How Can I Change the Password for Logging In to a Linux ECS?
Updated on 2023-10-31 GMT+08:00
How Can I Change the Password for Logging In to a Linux ECS?
Solution
- Use the existing key file to log in to the Linux ECS as user root.
- Run the following command to reset the password of user root:
passwd
To reset the password of another user, replace passwd with passwd username.
- Enter the new password as prompted.
New password: Retype new password:
If the following information is displayed, the password has been reset:passwd: all authentication tokens updates successfully
Parent topic: Passwords
Passwords FAQs
- How Can I Change the Password for Logging In to a Linux ECS?
- What Is the Default Password for Logging In to a Linux ECS?
- How Can I Set the Validity Period of the Image Password?
- Changing the Login Password on an ECS
- What Should I Do If the System Displays a Message Indicating that the Password Is Incorrect When I Remotely Log In to My ECS?
- What Should I Do If I Cannot Log In to My ECS Using the Initial Password After I Use It for a Period of Time?
- Disabling SELinux
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.
more