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.

When I try to add a new user using the GUI users-admin, nothing happens.

share|improve this question

closed as too localized by Ringtail, Luis Alvarado, bodhi.zazen, fossfreedom Apr 3 '12 at 21:58

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

What version of Ubuntu are you using? –  belacqua Apr 6 '11 at 3:12
Does a new user directory get created? –  RolandiXor Apr 17 '11 at 22:11
add comment

1 Answer 1

Try this:

sudo useradd [NAME-OF-USER]
sudo passwd [PASSWORD-OF-USER]

And let us know if it worked.

Replace [NAME-OF-USER] with the user name you want and replace [PASSWORD-OF-USER] with the user name(!) you want and then type in the password 2 times.

share|improve this answer
... so he should type sudo useradd NAME-OF-USER ;-) ? Plus the 2nd one seems fishy: how does it know it is the pwd of that new user? Needs to be [NAME-OF-USER]... –  Rinzwind Sep 22 '11 at 14:59
useradd will not create a home directory, unless you use the -D flag. adduser should be used instead - as it's an interactive useradd command and will negate the need to use passwd –  Marco Ceppi Sep 22 '11 at 15:05
Thanks for correcting me. I was also unsure.. But I just wanted to help :) –  Marc Boisvert Sep 22 '11 at 19:40
add comment