Results 1 to 5 of 5

Thread: Limit users in Login Screen

  1. #1
    Join Date
    May 2008
    Location
    East Coast, USA
    Beans
    104
    Distro
    Ubuntu 14.04 Trusty Tahr

    Limit users in Login Screen

    I have a fair number of users created for running processes (apache, oracle, etc) and they appear in the login screen when I boot.

    Is there a way to not display them?

    Thanks,
    Love the people that hate you.
    It really pisses them off.

  2. #2
    Join Date
    Dec 2007
    Location
    Galway, Ireland
    Beans
    316
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Limit users in Login Screen

    I'm also looking for an answer to this. When I find it I'll post it here.

  3. #3
    Join Date
    Dec 2007
    Location
    Galway, Ireland
    Beans
    316
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Limit users in Login Screen

    God this is why I love Linux and specially Ubuntu, everything is possible and so easy!

    So to limit the users shown in the login screen, the theory is that users with a UserID => 1000 are shown in the login screen and users with a UserID <= 999 are not shown in the login screen.

    1. System -> Administration -> Users and Groups -> 'Click to make changes'
    2. Select the user you want to remove from the login screen and go to Properties.
    3. Go to the Advanced tab and change the User ID to something lower than 999.


    Tip: On a terminal do cat /etc/passwd | grep xxx where xxx is the new ID you want to give to that user, this is to make sure the ID isn't taken by some other user already.

    Note: Once you have changed your users IDs to be lower than 999 they will not show in the 'User Settings' GUI. You will have to use command line to modify them.

  4. #4
    Join Date
    May 2008
    Location
    East Coast, USA
    Beans
    104
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Limit users in Login Screen

    Thanks! That works, but there has to be more to it. Root has a USERID = 0 and it doesn't show up in the login screen and is visable in the 'Users and Groups' applet. There must be a flag or something somewhere that can be flipped. Like you said: "everything is possible"
    Love the people that hate you.
    It really pisses them off.

  5. #5
    Join Date
    Dec 2007
    Location
    Galway, Ireland
    Beans
    316
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Limit users in Login Screen

    I'm glad that worked. Yes there might be more to it... or maybe not, I mean root is like God so it could very well be hardcoded... dunno.

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
  •