lightdm whitelist support for specifying list of users to be SHOWN in greeter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Referred from thread: http://
> If you think the feature should be provided by LightDM please file a bug
> here: https:/
I think that's a very helpful feature, one quite familiar for a long while to existing KDE KDM users, at least, and since lightdm already
ADDS all users, minus a user specified BLACKLIST
the alternative of using a WHTELIST, if specified, does not seem conceptually much of a stretch at all, and it seems like most of the code pieces shold be 'in there' anyway.
> I'm upgrading to KDE 'Next Gen' (plasma5 + KF5* + etc ).
>
> With this change, the default greeter switches from KDM to SDDM; tho, KDM
> still works -- for now.
>
> KDM's had the option -- for ages -- to specify a list of
> non-continugous-UID users to show in the greeter.
>
> So, e.g.
>
> ShowUsers=
>
> or
>
> ShowUsers=1000,1006
>
> Afaict, lightdm's and sddm's greeters only provide an option to specify a
> list of users to HIDE.
>
> I raised the issue @ #sddm of whether the ShowUsers= option exists, or
> could be added. Ended up with a debate as to why the option to specify
> users is needed, and that it's not really the users choice ... No thanks
> to that.
>
> In #kde I was told that lightdm is a more flexible option, works with KDE,
> but was speculated that it does not -- in the currently available greeters
> -- have the ShowUsers= option.
>
> Could this feature just be added, and made available to all the greeters?
The LightDM daemon only provides a hint to the greeters if users should be
displayed or not. It is up to each greeter to decide if wants to show a
subset of users. Unity Greeter provides an option to hide users. The GTK+
greeter doesn't provide an option. I'm not sure what the KDE greeters
provide.
We could add a user whitelist to the LightDM configuration and let the
greeters use that or you could just implement it in each greeter as
appropriate. Note that LightDM just provides hints to each greeter so the
feature would still need to be implemented in each greeter (though we would
probably add a helper function in liblightdm).
Note lightdm doesn't currently specify a blacklist, just if a user list should be shown (if not a greeter should require usernames to be entered manually).