Got it

How do I change the root password of an Euler ECS?

Created: Feb 22, 2022 02:32:23Latest reply: Feb 22, 2022 02:40:30 270 1 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hello, everyone!

I have one Huawei Cloud Stack Euler ECS, I want to change the root password, please help me.

Thanks in advance!

  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Feb 22, 2022 02:40:30

Hello, Pupu!

Have a nice day!

Logging In to an ECS and Changing the Password of the root User 

Step 1 Use the existing key file to log in to the Linux ECS as user root in key pair
authentication mode. 

Step 2 Run the following command to reset the password of user root

passwd 

Replace passwd with passwd username if you want to reset the passwords of
other users. 

Step 3 Enter the new password as prompted.

New password: 

Retype new password: 

The password has been reset if the following information is displayed: 

passwd: password updated successfully

Hope this helps!

View more
  • x
  • convention:

All Answers
olive.zhao
olive.zhao Admin Created Feb 22, 2022 02:40:30

Hello, Pupu!

Have a nice day!

Logging In to an ECS and Changing the Password of the root User 

Step 1 Use the existing key file to log in to the Linux ECS as user root in key pair
authentication mode. 

Step 2 Run the following command to reset the password of user root

passwd 

Replace passwd with passwd username if you want to reset the passwords of
other users. 

Step 3 Enter the new password as prompted.

New password: 

Retype new password: 

The password has been reset if the following information is displayed: 

passwd: password updated successfully

Hope this helps!

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.