[LightDM] Perform non-interactive login using provided uses credentials

Robert Ancell robert.ancell at gmail.com
Thu Aug 22 02:37:28 PDT 2013


Hi Arjio,

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.

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.

--Robert


On 27 July 2013 23:09, arijo <arijo at tormail.org> wrote:

> Hi list,
>
> 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.
> 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.
> 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.
>
> --
> Arijo
> ______________________________**_________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/**mailman/listinfo/lightdm<http://lists.freedesktop.org/mailman/listinfo/lightdm>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20130822/936ddb89/attachment.html>


More information about the LightDM mailing list