passwd command-password setting

After adding the user, set the password as well. Use the passwd command. User management such as password setting is performed as the root user using sudo.

sudo passwd kimoto

You will be asked to enter the password and re-enter it for confirmation, so set it.

How to change the root user password?

Run the passwd command with the username root or without a username.

sudo passwd root

or

sudo passwd

Associated Information