Comment 4 for bug 422052

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 422052] Re: Menu should list users if fewer than 6 are on the system

On Wed, 2009-09-02 at 15:04 +0000, Ted Gould wrote:
> On Wed, 2009-09-02 at 14:46 +0000, Martin Pitt wrote:
> > Does this really need to come from gdm? We can certainly add a d-bus
> > call there, but why not just iterate over getpwent() and filter out UIDs
> > < 500 (the system users) and >= 65534 (nobody)? That's more or less what
> > gdm does as well.
>
> GDM does other things like watch for changes, etc. So we wanted to have
> one person doing that on the whole system instead of GDM doing it, the
> greeter doing it, and every instance of indicator-session doing it.
> There are also things like the user names that are blocked, and that
> logic should really be in one place so that if you hide a user it gets
> hidden everywhere instead of needing to copy the logic between the
> different code bases.

Note also, I did discuss this with Ray Strode (upstream) at GCDS and he
agreed that it seemed like a good idea. That of course doesn't
guarantee that'd accept a patch, but it does mean that it is probably
possible.