From: Michael Biebl Date: Sat, 28 Apr 2012 08:51:13 +0000 (+0200) Subject: Re-add workaround for non-interactive PAM sessions X-Git-Tag: 44-2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3eea2b9099990d16135b4b8570507aff1549f2b;p=systemd Re-add workaround for non-interactive PAM sessions sudo is still broken if pam_loginuid.so is not enabled (which is the default). So re-add the workaround to disable pam_systemd.so for non-interactive sessions. Closes: #667470 --- 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