May I reset droplet password?

Posted September 15, 2017 2.3k views
Linux BasicsDebian

I use four droplets which are all Debian.
My all droplets have account that name is debian.

I accessed the passwd file.


May I change password of debian account?
I’m worry about malfunction regarding on Cloud-init-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.

Submit an Answer
1 answer


sudo will sign in with the “debian” account or any other account that has root privileges - ie… sudo.

sudo passwd

this will prompt you for the current password.

if you’re looking to add a user with root privileges…

sudo adduser USERNAME && sudo usermod -aG USERNAME sudo USERNAME

This will add a user prompting you to answer a few questions and then add them to the sudo group.

As far as cloud-init goes that I am unsure of. Does it work from SSH-KEY? so no passwd needed. I would spin up a dummy droplet and test it out just to see.