View Full Version : [SOLVED] Adding/Delete User

October 5th, 2012, 06:59 PM
Hi all,
i can add user using useradd user1.
but, when i ls /cd/home, no dir for my new user.
another thing is, i cannot set passwd to my new user, it ask me to key in current passwd. (which is i dont have)


October 5th, 2012, 07:04 PM
Hi termvrl.

I would recommend NOT using 'useradd' and 'userdel', as they are low level utilities.

If I were you, I'd use the commands 'adduser' and deluser instead.

Let us know how it goes.

October 5th, 2012, 07:08 PM
hi termvrl.
If i were you, i'd use the commands 'adduser' and deluser instead.


October 5th, 2012, 07:28 PM
Three things you need to know before you use useradd. I think this is how it's done. Emphasis on the think.

user a add

useradd me # me is yougive the user a directory

useradd -d /home/me megive the user a password

passwd me

October 5th, 2012, 07:30 PM
might try : deluser or rmuser ...

October 5th, 2012, 07:32 PM
I'm assuming that you are trying to add the user through the use of the terminal? What about going through the Dash Home? I found a good tutorial here (http://www.ubuntugeek.com/how-to-createdisable-and-delete-new-user-account-in-ubuntu-11-10-oneiric-ocelot.html) on how to add the account.

October 6th, 2012, 12:34 AM
Hi All ! Good day!

first i remove current user and group.
i create a group using addgroup group1.
then, i use adduser --ingroup group1 user1.
set the password and info.

Thanks for your help!

October 6th, 2012, 02:20 AM
Glad you got it solved!