Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

This question already has an answer here:

In my Ubuntu after login by my user account, I want to create another user I intered bellow commands :

adduser alex_2 -m

I created new user, but when I want to login, Ubuntu needs passwords and I did not gave that any password, as I mentioned I just typed adduser alex_2 -m. Am I should set a password? Also I can not login even when I set password blank .

share|improve this question

marked as duplicate by karel, Eric Carvalho, Warren Hill, Luis Alvarado Jul 24 '14 at 18:10

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.

1. related – lion Jun 10 '14 at 18:05
up vote 4 down vote accepted

you can run the command:

sudo passwd username

to create a password for the user. ("username" needs to be changed to the given username)

You could also disable the password, when running the command adduser, by appending the option --disabled-password. But that isn't recommended.

share|improve this answer

You need to open system settings, and go to users. Click unlock, then on the user you want to change, then the Account Disabled, next to password, and choose one of the 3 options from drop down.

share|improve this answer

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