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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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