1. Home
  2. Basics
  3. How to get Root User Password for DigitalOcean, Vultr, Linode, AWS, etc ?

How to get Root User Password for DigitalOcean, Vultr, Linode, AWS, etc ?

Root password can be obtained with various ways according to various VPS providers. For some of the popular VPS provider you can read below of how to get root user password

DigitalOcean Root Password

Method 1:-

When you created a droplet, you were emailed a root password (if you didnt select key option). You can find email you received from DigitalOcean when you created the Server and get root password from email.

Method 2 :-

  1. Click Droplet
  2. Click Access
  3. Reset Root Password.
  4. You would get Fresh email with password

Vultr Root Password


Go to Your server Dashboard and copy the password


In case you changed root password via commandline and forgot then reset it as follow :-

  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 – 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)
  3. Find the kernel line (starts with “linux /boot/”) and add init=”/bin/bash” at the end of the line
  4. Press CTRL-X or F10 to boot
  5. System will boot and you will see the root prompt. Type “mount -rw -o remount /” and then “passwd” to change the root password and then reboot again.

Linode Root Password

If you remember what password you kept while installing OS then use it or reset password as follows :-

  1. Go to Linode
  2. Click Shut down to turn off your Linode. Monitor the Host Job Queue for a message indicating that your Linode has shut down.
  3. Go to Rescue Tab
  4. Select your primary disk from the Filesystem menu.
  5. Enter new root password and submit.

Amazon Web Services

For AWS use https://aws.amazon.com/premiumsupport/knowledge-center/set-change-root-linux/

Updated on July 31, 2017

Was this article helpful?

Related Articles