[LightDM] Proposal: two new functions in greeter interface for LightDM
Scott Balneaves
sbalneav at ltsp.org
Tue Mar 15 16:21:40 UTC 2016
I'd like to make a proposal for two new functions to be added to the
greeter interface for LightDM:
const gchar * lightdm_greeter_get_pam_env(greeter, gchar *env_name) and
gboolean lightdm_greeter_set_pam_env(greeter, gchar *env_name, gchar
*env_value)
Here's the rationale for these functions;
One of the things that's handy about pam is the ability to pass some
information to later modules in the pam stack. One typically does this
through pam environment variables. As a use case:
Within the LTSP project, we'd like to use LightDM as the authentication
mechanism. owever, LTSP allows us to run processes on multiple servers. A
handy feature for the greeter would be to provide a drop-down of a list of
servers, which the user could select at login time. This would then set a
pam environment variable, which could be picked up by later modules in the
pam stack to do the necessary plumbing.
Does anyone see any potential problem with this idea? If not, I would be
willing to undertake the work to implement these two functions.
Cheers,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/lightdm/attachments/20160315/c86cc4eb/attachment.html>
More information about the LightDM
mailing list