From: Michael Biebl Date: Sat, 11 Feb 2012 09:48:22 +0000 (+0100) Subject: Disable pam_systemd for non-interactive sessions to work around an issue with sudo. X-Git-Tag: 43-1~27 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e750a4ad47b1208d8f89af1728e52e98bb98da5;p=systemd Disable pam_systemd for non-interactive sessions to work around an issue with sudo. Conflicts: debian/changelog --- diff --git a/debian/changelog b/debian/changelog index 836f04b7..ce73b9ea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -31,6 +31,8 @@ systemd (43-1) unstable; urgency=low * Stop installing lib-init-rw (auto)mount units and try to cleanup /lib/init/rw in postinst. Bump dependency on initscripts accordingly. Closes: #643699 + * Disable pam_systemd for non-interactive sessions to work around an issue + with sudo. -- Tollef Fog Heen Tue, 07 Feb 2012 21:36:34 +0100 diff --git a/debian/pam-configs/systemd b/debian/pam-configs/systemd index b31ad4be..5b56996a 100644 --- a/debian/pam-configs/systemd +++ b/debian/pam-configs/systemd @@ -1,6 +1,7 @@ Name: Register user sessions in the systemd control group hierarchy Default: yes Priority: 0 +Session-Interactive-Only: yes Session-Type: Additional Session: optional pam_systemd.so