<div dir="ltr"><div><div>Hi Arjio,<br><br></div>Probably the most reliable way of doing this is to write a PAM module that gets the credentials from initramfs and then set LightDM to autologin. If the module credentials weren't available your module can stop the PAM authentication and LightDM falls back to using a greeter.<br>
<br></div><div>Another method is to write your own greeter that could get the credentials and feed them to the LightDM daemon as a user would, but that doesn't sound like a very secure system.<br></div><div><br></div>
--Robert<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 July 2013 23:09, arijo <span dir="ltr"><<a href="mailto:arijo@tormail.org" target="_blank">arijo@tormail.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi list,<br>
<br>
I would like to discuss the possibility of performing a login in a non-interactive way using full user credentials as if they were input into the greeter dialog.<br>
Our current setups occasionally allows us to know about user identity and credentials as soon as initramfs, so it is somewhat unnecessary to ask the user to input them again.<br>
I would like to avoid using the auto-login feature as is, because it prevents the unlocking of encrypted homes, keyrings and such. I am a bit unsure how to tell lightdm about existing credentials (I'm pretty sure it is impossible using the current code base), so I would appreciate any input from experienced developers on how to address this before I start hacking on the code.<br>
<br>
--<br>
Arijo<br>
______________________________<u></u>_________________<br>
LightDM mailing list<br>
<a href="mailto:LightDM@lists.freedesktop.org" target="_blank">LightDM@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/lightdm" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/lightdm</a><br>
</blockquote></div><br></div>