Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I hide a particular user from the LightDM login screen?

I want to hide users from login screen. I have tried to modify a file in /etc/gdm, but that folder doesn't exist in my file system. Any idea?

share|improve this question

marked as duplicate by fossfreedom Jul 14 '12 at 13:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Ubuntu uses lightdm instead of gdm by default now, so you need to edit lightdm's configuration. Here's the default /etc/lightdm/users.conf:

# User accounts configuration
# NOTE: If you have AccountsService installed on your system, then LightDM will
# use this instead and these settings will be ignored
# minimum-uid = Minimum UID required to be shown in greeter
# hidden-users = Users that are not shown to the user
# hidden-shells = Shells that indicate a user cannot login
hidden-users=nobody nobody4 noaccess
hidden-shells=/bin/false /usr/sbin/nologin

Append the users you want hidden to the hidden-users=-line there.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.