Hosting » DigitalOcean » How do I change my root password DigitalOcean?

How do I change my root password DigitalOcean?

Last updated on September 25, 2022 @ 1:52 pm

If you forget your root password on DigitalOcean, there are a few things you can do to try and reset it. First, you can try logging in with a user account and attempting to reset the password there.

If that fails, you can try resetting the password using the command line. Finally, you can contact DigitalOcean support to try and reset the password.

To reset the password using the command line, you’ll first need to enter the root password. Then, you can use the command line to reset the password using the command:

PRO TIP: If you are changing your root password on DigitalOcean, be aware that this will also change the password for any other accounts on the server that use the root user. Make sure to update your passwords accordingly.

passwd

If that fails, you can try resetting the password using the command:

reboot

If that fails, you can contact DigitalOcean support to try and reset the password.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.