What is my Root password?

September 29, 2014 39.2k views

I somehow forgot the root password to our server via console window, and needed to access it - Is it possible to look it up without having to reset it?

I work with a number of people who have access to the same server as well, and don't want to reset it for everyone just because I couldn't remember what it is. Is there a way to look it up via account dashboard?

Thanks.

11 Answers

To set a root password, navigate to your Droplet's page in the control panel. It should open to the "Access" section. Towards the bottom, there is a button to "Reset Root Password".

From https://www.digitalocean.com/community/tutorials/how-to-use-the-digitalocean-console-to-access-your-droplet

I was only using SSH in the beginning so was missing the password too: "If you log in to your server using SSH keys and have not set up a password for the root account or a sudo user, you will need to use the DigitalOcean control panel to create a password for you."

by Justin Ellingwood
In this guide, we'll show you how to use the DigitalOcean console to log in to your Droplet. The console provides "out-of-band" access, which means that it will be available regardless of your network settings. It emulates the access you would have if you were sitting down with a keyboard and monitor attached to the actual server. We can use this feature to log in, revert bad settings, and regain control.

funny that this psot doesnt have more love.

I mean, why the f&*k they don't mention it when we setup a new droplet??

I set up a droplet and ten minutes later no password has been emailed to me. I reset it and get the password within 30 seconds. What a shambles.

If you are the one who has created the droplet and hasn't changed the password yet, you can find it in your mailbox.

If not, there is no other way - reset it or ask other people who have it.

Another strategy is to log in as root using your pass phrase, then creating a new user for admin purposes. E.g., adduser administrator1 (you will be prompted for the password).

what is my username ? root username is not authenticate on this

Creating a droplet doesn't send an email with your root password. I've created 3 or 4 over the years and I've never received one. So always reset your root password to get it.

Why this problem is not addressed ?

I've installed DigBox on Virtual Machine and I didn't know the id and password.
anyone please tell me how to fix this issue?

This is due to security concerns.
you should have assigned an ssh key to your droplet so you can log in using your ssh keys ( using putty or bitwise )
and you should prevent root to login to your system anyway.
Please follow the initial server setup guide.

when root password is displayed in plain text, there are chances of it to get compromised, so that's the reason they don't send root password the first time ( like they used to ) instead you can get password anytime using the reset password button.

Hope it helps!

Have another answer? Share your knowledge.