Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 3380  / 2 Years ago, thu, october 6, 2022, 10:53:39

Possible Duplicate:

How to add user without useradd command?






I am trying to add users in Lubuntu 12.04. I have followed the instructions here which amounts to:



$ useradd username
$ passwd username


I entered the password twice, and everything seemed good. But when I try to use the username and password from the Lubuntu login screen, it fails, simply returning to the login screen.



(Note that this is not the 'incorrect password' behavior that my working account displays.)



Any ideas?


More From » login

 Answers
0

Rather than the low level utility useradd on a Debian based distribution (like Lubuntu) it is recommended to use adduser. This makes sure all defaults are installed correctly, and a user HOME is created appropriately.



Usage:



sudo adduser <username>

[#38280] Friday, October 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iriousutur

Total Points: 321
Total Questions: 112
Total Answers: 106

Location: Sweden
Member since Mon, Dec 7, 2020
3 Years ago
iriousutur questions
Sun, Apr 9, 23, 02:48, 1 Year ago
Tue, May 23, 23, 00:41, 1 Year ago
Fri, Oct 21, 22, 02:47, 2 Years ago
Mon, May 9, 22, 00:01, 2 Years ago
;