Billing and payments
Cloud server volumes
Data centers and network
Data privacy and data portability
How it works
VPN to GPN
How to reset root password on Ubuntu 16.04 Cloud Server
If you have lost the root password of your server, you can restart the server in single-user mode and set a new password. To do this, you must access the server console via the customer portal portal.servers.com.
Open the server's page in "Cloud Servers > Create & Manage" section of the customer portal. Make sure the server is active.
Open the server's VNC Console using the button of the same name:
Restart the server using "Send CtrlAltDel" button in the VNC Console window.
After the BIOS screen, before the OS starts, a "Booting from Hard Disk..." line appears. Press ESC at the very same moment to open the GRUB menu.
Press 'e' to edit the boot menu. Changes will persist until next boot.
Scroll down to the line that starts with "linux /boot ". Remove the parameters highlighted in green on the picture below:
Change the "ro" parameter to "rw", add the parameter "init=/bin/bash" after a space. The parameters string should look like on the following picture:
Press Ctrl + X to boot into single-user mode using modified parameters. You may need to press Enter for the command prompt to appear after boot.
After the boot process complete, use the following command to set a new root password:
Restart the server with reboot command: