Ubuntu: How to add a user to Ubuntu 12.04



Question:

This is very weird, when add a user using the command line then set a password I cant login using the GUI! is this a new thing or what?


Solution:1

You can add an new user (with the common options, and /home/[user] as home directory) with:

useradd -m -g users -s /bin/bash [user]  

and then to set a password:

passwd [user]  

EDIT: You can also add additional information about the user with:

chfn [user]  


Solution:2

Please check your CapsLock and Language options (must be EN), also check if you have space in the password.

The command for creating new user is:

sudo adduser USERNAME (do not use spaces in the username)

After that you will specify the name of the user. Leave other options blank by push Enter.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »