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.

I am logged in as user_a. I created another account user_b with root privileges using the following steps:

sudo -s
useradd user_b
passwd user_b
>sum_passwd
sudo adduser user_b admin

After which I rebooted and tried to login as user_b but after typing the password, I see momentary darkness and then the login screen again. This does not happen if I try to type some incorrect password, as I am prompted immediately. I can login just fine to the guest_account and user_a but the newly created user_b is causing problems.

How do I fix this?

share|improve this question

1 Answer 1

you used a password that is the same as the username? If so, I believe that Ubuntu doesn't like this. If not, have you checked the useradd GUI that ships with Ubuntu to ensure that user_b is listed?

share|improve this answer
    
The question doesnt' seem to say the password is the same as the username. And if it were, that wouldn't be a problem (except that it would be a very easy password to guess)--Ubuntu doesn't have a problem with that. Furthermore, useradd is a command-line program, not a graphical utility. –  Eliah Kagan Jul 22 '12 at 21:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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