bracdawg
By:
bracdawg

Can't change default root password.

February 19, 2017 2.5k views
Getting Started Ubuntu 16.04

I try to change the default root password on my new droplet but when i hit enter with the new password, it just resets the console and the default password doesn't change.

7 Answers
Woet February 19, 2017
Accepted Answer

It asks for the current password first.

I do enter the current password. When it asks for a new password I enter one. When I press enter, it goes right back to asking for the username/password. The new password doesn't work at this point.

I have the same problem. I log in successfully, it asks to enter a new password. After I enter a new one it goes back to the start asking me to log in

You can try removing the encrypted password in the /etc/shadow file which will result in no password for the root account.

Now try to set a new password. I think that should work.

Let me know if it helps.

Woet was right however it never clicked what I was doing wrong. Thanks again.

I have the same problem, somebody know how to fix it please?

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.
Have another answer? Share your knowledge.