Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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, stephenmyall 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
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.


sudo adduser <username>
share|improve this answer
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
@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

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

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