Access the Control Panel section of your server in the customer portal and follow these steps. The option depends on the bootloader version on the machine:

CentOS 6

  1. Click [View Console] to access the console and click the POWER button on the left. And then click [RESET] 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. The system will boot, and you will see the root prompt. Type passwd to change the root-password and then reboot again.

CentOS 7

  1. Click [View Console] to access the console and click the POWER button on the left. And then click [RESET] to restart the server.
  2. As soon as the boot process starts, press ESC to bring up the GRUB boot prompt. You may need to turn the system off from the control panel and then back on to reach the GRUB boot prompt.
  3. You will see a GRUB boot prompt - press E to edit the first boot option. (If you do not see the GRUB prompt, you may need to press any key to bring it up before the machine boots)
  4. Find the kernel line (it starts with "linux16"), change ro to rw init=/sysroot/bin/sh.
  5. Press CTRL+X or F10 to boot single user mode.
  6. Access the system with the command: chroot /sysroot.
  7. Run passwd to change the root password.
  8. Reboot the system: reboot -f.

Debian, Ubuntu

  1. Click [View Console] to access the console and click the POWER button on the left. And then click [RESET] to restart the server.
  2. As soon as the boot process starts, press ESC to bring up the GRUB boot prompt. You may need to turn the system off from the control panel and then back on to reach the GRUB boot prompt.
  3. You will see a GRUB boot prompt - press E to edit the first boot option. (If you do not see the GRUB prompt, you may need to press any key to bring it up before the machine boots)
  4. Find the kernel line (it starts with linux /boot/) and add init=/bin/bash at the end of the line.
  5. Press CTRL+X or F10 to boot.
  6. The system will boot and you will see the root prompt. Type mount -o remount,rw / and then passwd to change the root password and then reboot again.
  • 2 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?
Artículos Relacionados
How to use the SSH Key to login to the VM
Connecting to a server using an SSH key from a Windows client Download and run the PuTTY SSH...
How to generate SSH RSA Key
Creating an SSH key on Windows The simplest way to create SSH key on Windows is to use PuTTYgen....
How to convert RSA Private Key to Putty Private Key .ppk
Converting SSH keys for WinSCP If you want to use WinSCP as an SFTP client to connect to your...
Upgrade Guide For VM Migrated from SVM Platform(Order before Jan 2019)
Doing this to keep your VM running well in the new platform. 1.     Prepare: ·       For how...
Why I can’t connect to NTP and MemCache server?
For Security Reason, We now only accept Google NTP server connection in Asia. If you need to...