Results 1 to 8 of 8

Thread: Adding/Delete User

  1. #1
    Join Date
    Sep 2012
    Beans
    94
    Distro
    Ubuntu 12.04 Precise Pangolin

    Adding/Delete User

    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)

    Thnks!!

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    6,767
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Adding/Delete User

    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.
    Regards.
    Last edited by papibe; October 5th, 2012 at 07:08 PM. Reason: syntax

  3. #3
    Join Date
    Feb 2012
    Location
    el_GR
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Adding/Delete User

    Quote Originally Posted by papibe View Post
    hi termvrl.
    If i were you, i'd use the commands 'adduser' and deluser instead.
    +1
    # How to mark the Thread as [SOLVED] when done.
    # Ubuntu Greek Community
    # Gain 20GB of space on copy.com when sign up with my referral link.

  4. #4
    Join Date
    Aug 2012
    Beans
    76

    Re: Adding/Delete User

    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

    Code:
    useradd me # me is you
    give the user a directory

    Code:
    useradd -d /home/me me
    give the user a password

    Code:
    passwd me

  5. #5
    Join Date
    Feb 2007
    Beans
    863

    Re: Adding/Delete User

    might try : deluser or rmuser ...

  6. #6
    Join Date
    Feb 2012
    Location
    Athens, Alabama
    Beans
    630
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Adding/Delete User

    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 on how to add the account.

  7. #7
    Join Date
    Sep 2012
    Beans
    94
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Adding/Delete User

    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!

  8. #8
    Join Date
    Feb 2012
    Location
    Athens, Alabama
    Beans
    630
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Adding/Delete User

    Glad you got it solved!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •