Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

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.

1 Answer

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
#
[UserAccounts]
minimum-uid=500
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
add comment

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