PDA

View Full Version : [ubuntu] Unable to create user


Diskdoc
July 21st, 2008, 06:12 AM
I can't seem to be able to create a new user using the user administration tool. I enter the values for the new user and press "ok". The user GROUP seems to be created but nothing new in /etc/passwd and no homedir gets created.

How do I move foward?

*fixed*

Ownership and permissons on the /home:dir was wrong. Probably due to some of my earlier tampering. Should be root:root drwx-xr-x

stitchmysmile93
July 21st, 2008, 07:41 AM
sudo useradd -m -G users matt

su - matt

passwd matt

stitchmysmile93
July 21st, 2008, 07:42 AM
Oh Matt is a good name :P

jingyinggong
July 29th, 2008, 03:44 AM
what is the difference between useradd and adduser?
I am just a green hand on ubuntu!
thanks

ibutho
July 29th, 2008, 04:18 AM
what is the difference between useradd and adduser?
I am just a green hand on ubuntu!
thanks

Adduser is more interactive (i.e. it asks you the details) than useradd (you enter the details manually without any prompts or menu).