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

I just upgraded to Ubuntu 11.10 and I was wondering if it's possible to not list all the current users and instead require the user to type in their username? My company's IT policies require that users not be listed on login screens.

In Ubuntu 11.04, I was able to do this with the following commands...

$ sudo -u gdm gconftool-2 --type boolean --set /apps/gdm/simple-greeter/disable_user_list true
share|improve this question

2 Answers 2

up vote 13 down vote accepted

You can do this by editing /etc/lightdm/lightdm.conf The default contents are just:


And you can just add:


To that. For the full list of options, see /usr/share/doc/lightdm/lightdm.conf (or look at this post about lightdm conf).

share|improve this answer
Worked like a charm. Thanks! –  Bryan Oct 18 '11 at 22:45

Answers suggesting you edit the conf file are wrong.

From the Ubuntu wiki:

LighDM configuration is governed by the lightdm.conf file, however it's not suppose to be directly edited, instead use:


I found the file in /usr/lib/lightdm/lightdm-set-defaults.

You would issue the following on the command line:

sudo /usr/lib/lightdm/lightdm-set-defaults --hide-users true
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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