[systemd-devel] pam: Don't use loginuid [was: Re: Fix PAM module to not clobber XDG_RUNTIME_DIR with su]

Lennart Poettering lennart at poettering.net
Mon Nov 25 20:12:56 PST 2013


On Thu, 21.11.13 00:36, Lennart Poettering (lennart at poettering.net) wrote:

> I do like Martin's original patch, since by unsetting XDG_RUNTIME_DIR it
> basically tells apps "Hey, all bets are off, you are fucked", and
> doesn't pretend XDG_RUNTIME_DIR would still work. Because it doesn't.

I implemented this now, using a different approach than Martin's
original patch (i.e. I don't think it is a good idea to involve stat()
here, instead let's just let logind pass all information to
pam_systemd).

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list