[Pkg-shadow-devel] Bug#814670: Possible fix for su - / su -l and XDG_RUNTIME_DIR

Vivek Das Mohapatra vivek at collabora.com
Sun May 1 19:29:10 UTC 2016


The attached patch adds a pam profile for su -l (and su -),
patches su to use that profile if su - is used, and adds a
pseudo-xdg-session pam module.

It isn't possible to guarantee there's a "real" XDG session
for that user for the su - session to join, and you making logind
handle su - and similar sessions properly requires a fair bit of
surgery, so we set up a summy XDG_RUNTIME_DIR instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enable-pseudo-xdg-sessions-for-su-l.patch
Type: text/x-diff
Size: 12573 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20160501/7cd86b00/attachment.patch>


More information about the Pkg-shadow-devel mailing list