what is the default password when you create new user in ubuntu?

104,786

Solution 1

You need to set a password for the user. Use the passwd command:

Usage: passwd [options] [LOGIN]

So if you want to set a password for the new user, you type in:

sudo passwd acreddy 

and you're good.

Solution 2

If you don't want to set password, you can do it by

passwd -d username
Share:
104,786

Related videos on Youtube

a-c-sreedhar-reddy
Author by

a-c-sreedhar-reddy

Updated on September 18, 2022

Comments

  • a-c-sreedhar-reddy
    a-c-sreedhar-reddy almost 2 years

    I have created a new user by using useradd command e.g.:

    sudo useradd acreddy
    

    Then new user is created but it is asking for a password what is the password?