<div dir="ltr">Guest logins are done using a newly created user and the autologin stack.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 February 2014 02:21, Veli-Matti Lintu <span dir="ltr"><<a href="mailto:veli-matti.lintu@opinsys.fi" target="_blank">veli-matti.lintu@opinsys.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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.<br>

<br>
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.<br>

<br>
Thanks,<br>
<br>
Veli-Matti<br>
_______________________________________________<br>
LightDM mailing list<br>
<a href="mailto:LightDM@lists.freedesktop.org">LightDM@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/lightdm" target="_blank">http://lists.freedesktop.org/mailman/listinfo/lightdm</a><br>
</blockquote></div><br></div>