Question

my vps can't chage password root

hy… just to join in this forum… i want to question …how can’t change root password my droplen ? then at klick enter, out message session stoped.

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.

Accepted Answer

Hello, @rayyanm007

You can change the root password for the droplet from your DigitalOcean account as well.

Navigate to the control panel. From the project the Droplet is in, or from the main navigation’s Droplets page, locate the Droplet. Click the Droplet’s name to open its detail page, then select Access in the left navigation.

Click Reset Root Password to send an email to the address associated with your DigitalOcean account. You can use the password provided to log in to your Droplet through the console.

You can also check our official documentation about this:

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

Regards, Alex

Hi @rayyanm007 ,

Under root user,you can run this command:

passwd

Usually the initial password for root is sent to your inbox related to digitalocean account.

Regards, Shiroka