[CentOS] Edit login user list on CentOS 6

Thu Apr 9 17:21:26 UTC 2015
Richard <lists-centos at listmail.innovate.net>


------------ Original Message ------------
> Date: Thursday, April 09, 2015 11:03:04 -0600
> From: Frank Cox <theatre at melvilletheatre.com>
>
> On Thu, 9 Apr 2015 12:58:18 -0400
> Alfred von Campe wrote:
> 
>> The thread on the CentOS 7.1 user login screen reminded me of a
>> small nagging issue I have on CentOS 6.  We are using a Windows
>> AD backend to authenticate users on our CentOS 6 systems.  When a
>> system is built, and nobody has yet logged into it, you have to
>> enter your username in the login screen to log in.  The next time
>> you are the the login screen it lists all the users who have
>> logged in (via the graphical login screen).  This works great if
>> this is your own desktop and nobody ever logs into it, but on a
>> shared system the list can get very long.  Does anyone know where
>> this lists is kept?
> 
> I think that you can exclude usernames from the list on Centos 6
> by making their user number less than 500.

You can (also) exclude entries by enumerating them on an "Exclude="
line in the greeter section of /etc/gdm/custom.conf . 

Alternatively, you can suppress the list totally by changing the
default of gdm->simple-greeter->disable_user_list with the gconf
editor.