bracdawg
By:
bracdawg

Can't change default root password.

February 19, 2017 1.7k 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?

Most users will manage their DigitalOcean Droplets using SSH, PuTTY, or an installed control panel. However, it's possible that situations could arise that locks you out of accessing your Droplet through these conventional methods. For instance, changes to your network...
Have another answer? Share your knowledge.