Results 1 to 10 of 10

Thread: Hidden Users

  1. #1
    Join Date
    Jun 2010
    Location
    Tulsa, Oklahoma
    Beans
    91
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question Hidden Users

    How do I give a friend access to my computer over SSH and local access on the rare occasion that he happens to be at my house without displaying his name on the login screen (in other words, click OTHER to login)?

    NOTE: I don't need help with SSH, just with the login screen.
    Last edited by adamjkok; August 28th, 2010 at 06:13 PM. Reason: added a note
    Plz help me out on Dropbox - you'll get 250 MB extra too! Sign up and help!

  2. #2
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Hidden Users

    I have recently played with the settings for accounts and I do not think it is possible to not have them listed in the log in menu.
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  3. #3
    Join Date
    Jun 2010
    Location
    Tulsa, Oklahoma
    Beans
    91
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Hidden Users

    Quote Originally Posted by uRock View Post
    I have recently played with the settings for accounts and I do not think it is possible to not have them listed in the log in menu.
    So how are all of the system accounts (including, but not limited to, root) hidden?

    Also, in theory, you can make open-source software do anything that the hardware is capable of.
    Plz help me out on Dropbox - you'll get 250 MB extra too! Sign up and help!

  4. #4
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Hidden Users

    I have tried creating accounts via Users and Groups and via the newuser command and neither will create a hidden account nor allow you to hide an account. There may be a server application that will allow this, but I haven't looked.
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  5. #5
    Join Date
    Jun 2010
    Location
    Tulsa, Oklahoma
    Beans
    91
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Hidden Users

    Quote Originally Posted by uRock View Post
    I have tried creating accounts via Users and Groups and via the newuser command and neither will create a hidden account nor allow you to hide an account. There may be a server application that will allow this, but I haven't looked.
    What about adduser and useradd? Or usermod?
    Plz help me out on Dropbox - you'll get 250 MB extra too! Sign up and help!

  6. #6
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: Hidden Users

    Quote Originally Posted by adamjkok View Post
    So how are all of the system accounts (including, but not limited to, root) hidden?

    Also, in theory, you can make open-source software do anything that the hardware is capable of.
    What system accounts are you aware of that are hidden?

    If you try
    Code:
    cat /etc/passwd | cut -d ":" -f1
    you will get all the names of the users in the system.
    This also includes daemons/special accounts.
    Last edited by jtarin; August 29th, 2010 at 01:08 AM.
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

  7. #7
    Join Date
    Jan 2008
    Beans
    4,757

    Re: Hidden Users

    GDM hides all users who's PID is below the minimal UID value. Which by default is less than 1000.

    This can be tweaked in /etc/login.defs


    Alternately you can remove the user selection screen altogether.
    Code:
    sudo -u gdm gconftool-2 --set /apps/gdm/simple-greeter/disable_user_list --type bool true
    As you can probably guess, 'false' reverses it.

    You can lookup more settings you can tweak here.

    Regards.

  8. #8
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Hidden Users

    Quote Originally Posted by adamjkok View Post
    What about adduser and useradd? Or usermod?
    Give them a try.
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  9. #9
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,701

    Re: Hidden Users

    Quote Originally Posted by ibuclaw View Post
    GDM hides all users who's PID is below the minimal UID value. Which by default is less than 1000.
    Nice one.
    So make his user ID smaller than 1000 when you create his account.

  10. #10
    Join Date
    Sep 2011
    Beans
    1

    Post Re: Hidden Users

    Code:
    sudo gedit /etc/gdm/custom.conf
    Look for the [greeter] section, add if it doesn't exist...

    Code:
    [greeter]
    Exclude=nobody,USERNAME
    Obviously replcate username with the user to hide. Make sure "nobody" is there as well, Ubuntu seems to have a hidden/system user with that name. Adding only USERNAME will leave nobody visible.

    Restart GDM(reboot).

    I don't recall the URL but I found the answer somewhere else on the ubuntu forums.

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
  •