Question

Does Resetting Root User Password Affect Sudo Users?

Posted February 9, 2021 76 views
NginxUbuntu 18.04

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?

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.

×
2 answers

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

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

Submit an Answer