Vultr CentOS6 更改root密码

Posted 2018-07-25Updated 2019-10-31Words 359Reading 3m

修改 CentOS 7 的root密码:点这里



如果用ssh登录,操作会比较便捷。 在terminal里(Windows下可以使用Xshell)
ssh [email protected]


用vultur console更改 点击那个小小的终端符号(View Console),接着连到了登录界面,和上面一样敲入passwd就能修改了

  1. Click [View Console] to access the console and click the send CTRL+ALT+DEL button on the top right. Alternatively, you can also click [RESTART] to restart the server.
  2. You will see a GRUB boot prompt telling you to press any key - you have only a few seconds to press a key to stop the automated booting process. (If you miss this prompt you will need to restart the VM again)
  3. At the GRUB prompt, type “a” to append to the boot command.
  4. Add the text “single” and press enter.
  5. System will boot and you will see the root prompt. Type “passwd” to change the root-password and then reboot again.

还可以按照官方文档这样改,打开console后点击右上角的Ctrl+Alt+Del,然后狂按键盘进入到一个选项页面,这个时候按下a,接下来你应该会看到这样的提示符 然后直接在它末尾输入a single后敲击回车 进入新的界面后和上面操作一样,输入passwd……