On Thu, 2011-01-06 at 11:34 +1100, Martin Pool wrote:
> On 6 January 2011 09:51, Peter Miller <pmil...@opensource.org.au> wrote:
> > Hi Folks,
> >
> > Does anyone know the criteria that gdm greeter uses to generate its list
> > of users?  I want to remove some and add others.
> 
> http://askubuntu.com/search?q=gdm+user+list
> in particular
> http://askubuntu.com/questions/2471/how-to-hide-users-from-the-login-screen

By it's nature, this is a tough query: synonyms of hide/ exclude/
missing/ absent, and user/ login/ icon, mean there is more noise than
signal in search engine results.

To exclude users from the list, I edited /etc/gdm/custom.conf to add
        [greeter]
        Exclude=buildd
Reading the gdm sources, there is another "Include" item as well, but it
is censored the same way as the getpwent iteration is censored, making
it useless (and largely undocumented, in such documentation as does
exist).

The absent users all had UIDs below 1000 (file system started over a
decade ago), and this can be fixed in the /etc/login.defs file to change
        UID_MIN 200

Now I'm happy... happier.  Reading the source should not have been
necessary.
        $ man gdm
        No manual entry for gdm
        See 'man 7 undocumented' for help when manual pages are not
        available.
        $
Debian Policy says "Bad package!  Off to the Spankers!"

-- 
Regards
Peter Miller <pmil...@opensource.org.au>
/\/\*        http://miller.emu.id.au/pmiller/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.

"DRM doesn't anger consumers, content owners abusing DRM angers consumers."
_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders

Reply via email to