]> err.no Git - systemd/commitdiff
Re-add workaround for non-interactive PAM sessions
authorMichael Biebl <biebl@debian.org>
Sat, 28 Apr 2012 08:51:13 +0000 (10:51 +0200)
committerMichael Biebl <biebl@debian.org>
Sat, 28 Apr 2012 08:51:13 +0000 (10:51 +0200)
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

debian/pam-configs/systemd

index b31ad4bed64fca19709f3f584c975ec359029170..5b56996a2bb77030fe11ee80e250f59081527aee 100644 (file)
@@ -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