[LightDM] Guest logins and PAM
Veli-Matti Lintu
veli-matti.lintu at opinsys.fi
Mon Mar 3 08:32:48 PST 2014
Hi,
Yes, that really seems to be the case and I probably did something wrong I tried it for the first time. Everything works like a charm now. Thanks and sorry for the noise.
Veli-Matti
----- Original Message -----
From: "Robert Ancell" <robert.ancell at gmail.com>
To: "Veli-Matti Lintu" <veli-matti.lintu at opinsys.fi>
Cc: "LightDM Mailing List" <lightdm at lists.freedesktop.org>
Sent: Monday, February 24, 2014 6:11:54 AM
Subject: Re: [LightDM] Guest logins and PAM
Guest logins are done using a newly created user and the autologin stack.
On 22 February 2014 02:21, Veli-Matti Lintu <veli-matti.lintu at opinsys.fi>wrote:
> Hi,
>
> I've been going through lightdm's guest login flow to find a place where I
> could initialise sessions for normal logins and guest sessions the same
> way. This includes creating some directories and files as root and setting
> some env variables. So far I've been using pam_env.so and pam_exec.so to
> call the scripts in various stages of the PAM stack. Some of these are
> called also for ssh logins, so PAM has been a natural place for these.
>
> lightdm uses a separate PAM stacks for normal and autologins, but it seems
> to bypass PAM completely for guest logins. What is the background for this?
> Would it be possible to add PAM support for guest logins? I'm not yet
> familiar enough with the code to say this myself. I'm about to start
> digging into the code better, but having some pointers would be really nice.
>
> Thanks,
>
> Veli-Matti
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/lightdm
>
More information about the LightDM
mailing list