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

I accessed the passwd file.

debian:x:1000:1000:Cloud-init-user,,,:/home/debian:/bin/bash

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.

×
1 answer

Yes

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.

Submit an Answer