Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How to add user

  1. #1
    Join Date
    Apr 2013
    Beans
    34

    How to add user

    Hi,

    I tried 'sudo adduser Joe' which seemed to work. I could su to Joe. But when I logged out and tried to log back in, the login screen didn't give me an option to login as Joe. What's the correct way to add a user in ubuntu?
    Last edited by UserJB; June 7th, 2013 at 06:18 PM.

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to add user

    Using the command line:
    Code:
    sudo adduser username
    and follow the prompts to give the account a password and identifiable characteristics such as a full name, phone number, etc.

    Doing it graphically: AddUsersHowto
    Last edited by slickymaster; June 7th, 2013 at 04:38 PM.

  3. #3
    Join Date
    Apr 2013
    Beans
    34

    How to add new userid to login screen

    I can add a user with the 'adduser' command, but when I log out and try to login with that new userid, the ubuntu login screen won't give me the option of logging in as that userid. It only lists the previous userids. So, how can I add the new userid to the login screen so I can login as that userid?

  4. #4
    Join Date
    Apr 2013
    Beans
    34

    Re: How to add user

    I did that already. But when I log out and try to log in as the new userid, the ubuntu login screen doesn't list the new userid, and there's no way to change to that userid. So, what else do I have to do?

  5. #5
    Join Date
    Feb 2007
    Beans
    23,261
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to add user

    Hi and please do not create multiple threads on the same issue. Threads merged.

  6. #6
    Join Date
    Apr 2013
    Beans
    34

    Re: How to add user

    Hi and it's a different issue. Please read before merging.

  7. #7
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How to add user

    Quote Originally Posted by UserJB View Post
    I did that already. But when I log out and try to log in as the new userid, the ubuntu login screen doesn't list the new userid, and there's no way to change to that userid. So, what else do I have to do?
    Well, it should appear in the drop down list at login screen. Have you try to do it graphically through System > Administration > Users and Groups? Do it and see if that way the same thing happens.

  8. #8
    Join Date
    Apr 2013
    Beans
    34

    Re: How to add user

    There is no 'System' menu. So I haven't tried graphically.

    When I try to login to the machine, it doesn't list an 'other' option which allows me to change the username.

  9. #9
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: How to add user

    Which version of Ubuntu are you using?

    Can you post back the /etc/passwd entry for your "joe" account?

    Does a home directory exist for "joe" in /home?

  10. #10
    Join Date
    Apr 2013
    Beans
    34

    Re: How to add user

    > /etc/os-release
    ::::::::::::::
    NAME="Ubuntu"
    VERSION="12.04.2 LTS, Precise Pangolin"

    The entry for Joe (actually Tom) in /etc/passwd is:
    Tom:504:504::/home/Tom:/bin/sh

    I think the problem is with the UID and GID. If I create another username without specifying a UID and GID, and use the default instead, which turns out to be 1001, then that username is selectable in the login prompt.

    However, that isn't good enough for me. I want to create accounts with UID and GID of 500 so that I can read/write files on other partitions (those partitions were created in different distro's on Linux with users that had a UID and GID of 500). Is there a way in Ubuntu to create accounts with a UID and GID of 500, and have it work? And, why doesn't that work in Ubuntu?

Page 1 of 2 12 LastLast

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
  •