Help Center>
Bare Metal Server>
FAQs>
Key Pair and Password FAQ>
How Do I Change the Password of a BMS in Its OS?
Updated on 2022-12-02 GMT+08:00
How Do I Change the Password of a BMS in Its OS?
You are advised to reset the password on the console. Alternatively, you can log in to the BMS and change the password in its OS.
Change the Password for Logging In to a Linux BMS
CentOS 7.5 is used as an example.
- Remotely log in to the BMS.
- Run the passwd root command, enter the new password, and retype the new password.
- Enter exit to log out and use the new password to log in to the BMS to check whether you have changed the password successfully.
Change the Password for Logging In to a Windows BMS
Windows Server 2012 R2 is used as an example.
- Log in to the BMS remotely using MSTSC.
- Click
in the lower left corner, choose Windows PowerShell and enter compmgmt.msc to open Computer Management.
- Choose System Tools > Local Users and Groups > Users, right-click the target username, for example, Administrator in the following figure.
- Select Set Password.
- Click Continue.
- Enter the new password, confirm the password, and click OK.
- Press Ctrl+Alt+Delete to lock the BMS screen. Then unlock the screen and use the new password to log in.
Parent topic: Key Pair and Password FAQ
Key Pair and Password FAQ FAQs
Feedback
Was this page helpful?
Provide feedback
Thank you very much for your feedback. We will continue working to improve the
documentation.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore