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
Related videos on Youtube
![a-c-sreedhar-reddy](https://i.stack.imgur.com/uuqSZ.jpg?s=256&g=1)
Author by
a-c-sreedhar-reddy
Updated on September 18, 2022Comments
-
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?