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

Thread: Hide user from login screen Lucid

  1. #1
    Join Date
    Feb 2010
    Location
    Minneapolis, Minnesota US
    Beans
    166
    Distro
    Xubuntu 14.04 Trusty Tahr

    Question Hide user from login screen Lucid

    So...

    I actually got my boss to let me put Ubuntu on a laptop for a client and it works like a champ. I have it all setup but there's one thing I'd like to do on it. I have an admin user (the one I created during the install) and a desktop user (for the person receiving the laptop). I would like to hide my admin user from the login screen, so when it boots up all the user sees is their name. If I need to help them with something/install software I can choose other and login as my admin user.

    It appears this was rather easy in 9.10 and previous but I can't figure out how to do it in 10.04. To be clear, I want to edit the user list, not disable it entirely. I've tried changing the user id, I found a post that claimed IDs less than 1000 were not shown on the login screen, this proved un-true in my case.

    Any help would be greatly appreciated.

    DW

  2. #2
    Join Date
    Mar 2005
    Location
    France
    Beans
    590

    Smile Re: Hide user from login screen Lucid

    Just make an automatic login on the user you select in
    system/admin/login window.
    The session will open automatically on the user
    Ubuntu 10.04, Debian6 LXDE

  3. #3
    Join Date
    Feb 2010
    Location
    Minneapolis, Minnesota US
    Beans
    166
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Hide user from login screen Lucid

    Quote Originally Posted by jrev View Post
    Just make an automatic login on the user you select in
    system/admin/login window.
    The session will open automatically on the user
    Thanks for the reply, but I want them to have to enter their password. I want to have a user on their machine without them knowing and without enabling root.

  4. #4
    Join Date
    Mar 2007
    Beans
    110
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Hide user from login screen Lucid

    Hey,

    On Lucid, place the users you want to hide under the 1000 level (eg 999, 998, 997, etc.). They'll be removed from the login screen and from the Disconnect menu. Works in my case.

    Code:
    sudo usermod -u 999 username
    Cheers,
    Egg
    Last edited by MrEgg; December 9th, 2010 at 11:33 AM.

  5. #5
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Hide user from login screen Lucid

    How about this: http://fedoraforum.org/forum/showthread.php?t=246103

    Seems it should work in Ubuntu too, checked the gdm.schemas-file.

    If that doesn't work you could still disable the user list at all, in a terminal type:
    Code:
    sudo -u gdm gconftool-2 --set --type boolean /apps/gdm/simple-greeter/disable_user_list true

  6. #6
    Join Date
    Feb 2010
    Location
    Minneapolis, Minnesota US
    Beans
    166
    Distro
    Xubuntu 14.04 Trusty Tahr

    Smile Re: Hide user from login screen Lucid

    Thanks guys,

    I'll give your suggestions a try if I can ever get my hands on that laptop again LOL. I gave it to the customers CIO to test and see if he felt his user base could function in Ubuntu. He loved it so much he won't give it back.

  7. #7
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Hide user from login screen Lucid

    Quote Originally Posted by MSPdwalt View Post
    It appears this was rather easy in 9.10 and previous but I can't figure out how to do it in 10.04. To be clear, I want to edit the user list, not disable it entirely. I've tried changing the user id, I found a post that claimed IDs less than 1000 were not shown on the login screen, this proved un-true in my case.

    Any help would be greatly appreciated.

    DW
    Edit the /etc/gdm/gdm.schemas file and the admin user to the list of users of the greeter/Exclude stanza:
    Code:
    ...
        <schema>
          <key>greeter/Exclude</key>
          <signature>s</signature>
          <default>username,bin,root,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap</default>
        </schema>
    ...

  8. #8
    Join Date
    Mar 2008
    Location
    Sussex, UK
    Beans
    1,326
    Distro
    Ubuntu

    Re: Hide user from login screen Lucid

    If you look at Ailurus, available through Software Centre, it has the option to disable user list at log in. That way your boss would have to enter his/her log in name and get to his/her account. Provided your boss didn't know your log in name he/she couldn't access you account.
    Would that be an option?
    Attached Images Attached Images

  9. #9
    Join Date
    Feb 2010
    Location
    Minneapolis, Minnesota US
    Beans
    166
    Distro
    Xubuntu 14.04 Trusty Tahr

    Lightbulb Re: Hide user from login screen Lucid

    Quote Originally Posted by sisco311 View Post
    Edit the /etc/gdm/gdm.schemas file and the admin user to the list of users of the greeter/Exclude stanza:
    Code:
    ...
        <schema>
          <key>greeter/Exclude</key>
          <signature>s</signature>
          <default>username,bin,root,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap</default>
        </schema>
    ...
    This did it! Thanks a lot sisco311!

  10. #10
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Hide user from login screen Lucid

    Since "/etc/gdm/gdm.schemas" is included in the gdm install package, your modification will most likely get overwritten by an update of the package (just yet did further research).

    Thus you should instead modify "/etc/gdm/custom.conf" by adding:
    Code:
    [greeter]
    Exclude=user1,user2
    Those file will definetely not get overwritten by an update.
    Last edited by Krytarik; January 6th, 2011 at 12:16 AM.

Page 1 of 2 12 LastLast

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
  •