Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by Jorge Castro, Ringtail, Tom Brossman, fabricator4, Stephen Myall Jan 7 '13 at 9:55

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
It may be a bug...I face it in UBUNTU 12.04 too.Try loging in in the terminal.If it successfully logs in in the terminal then its a bug in the log in display manager part. –  Nirmik May 19 '12 at 11:31
add comment

2 Answers 2

up vote 7 down vote accepted

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>
share|improve this answer
1  
This is really somewhat humorous. Thanks much adduser does what I want, I wonder if I'll be able to remember which is which. –  Eric Wilson May 19 '12 at 14:37
1  
@EricWilson If you ever become confused you can run man adduser and man useradd to see documentation and usage information for both commands. –  Eliah Kagan Jan 7 '13 at 0:21
add comment

Lubuntu has a graphical administration tool for this. Go to:

LXDE Menu > System Tools > Users and Groups

(Or, if you prefer, run the command users-admin.)

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.