Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
47
rated 0 times [  47] [ 0]  / answers: 1 / hits: 126181  / 1 Year ago, sat, january 21, 2023, 8:57:28

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?


More From » password

 Answers
6

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.


[#17650] Monday, January 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
laiuct

Total Points: 44
Total Questions: 105
Total Answers: 107

Location: Seychelles
Member since Mon, Feb 15, 2021
3 Years ago
;