Question

Does Resetting Root User Password Affect Sudo Users?

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?

Subscribe
Share

Submit an 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