How to set user password


#1

Hi,

I already create account on SSO and also can login to ubuntu core, can I set a password for my account or add a new user that can login by user name and password?

because we would like to run ubuntu core on our device, customer would like to login device by username and password rather than with RSA key.

can you help to give some advices? thanks!


#2

Once you’re in the device, you should be able to set the user’s password with passwd (via sudo).

You can add users using adduser, as long as you use the --extrausers flag.