Report this

What is the reason for this report?

Does Resetting Root User Password Affect Sudo Users?

Posted on February 9, 2021

I am currently able to login a sudo user via the console on our Droplet. However, I am unable to login as root. Should I go through the root user password reset process? If I do that, will that affect the login for the sudo user?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @avebury

As per Bobby’s reply resetting the root username password for your droplet wont affect the other users.

If you want to reset the droplet root password you can follow this article:

https://www.digitalocean.com/docs/droplets/resources/reset-root-password/

https://www.digitalocean.com/docs/droplets/resources/console/

Regards, Alex

Hi there @avebury,

Resetting the root password will not affect your other users.

If you want to reset your sudo user password, you could use the passwd command followed by the username that you want to reset the password for:

passwd your_username_here

Hope that this helps! Let me know if you have any questions.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.