summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2013-02-04 11:44:20 -0500
committerRay Strode <rstrode@redhat.com>2013-02-04 11:45:57 -0500
commitf46bd9712e9452068199ceb44ed414cb8e408ce7 (patch)
tree4e32029d32cfde47c73f335bddf50757eab700e4
parent8188ac750c8acfd33ead8ebc9f159c8122e19f00 (diff)
downloadgdm-f46bd9712e9452068199ceb44ed414cb8e408ce7.tar.gz
pam: drop pam_loginuid from launch environment session
From https://bugzilla.redhat.com/show_bug.cgi?id=882385: "The loginuid is for actual logins by people. Its not intended for system use. All daemons should have loginuid set to -1, meaning that its a system process and not related to activity by a person." https://bugzilla.gnome.org/show_bug.cgi?id=693152
-rw-r--r--data/pam-exherbo/gdm-launch-environment.pam1
-rw-r--r--data/pam-lfs/gdm-launch-environment.pam1
-rw-r--r--data/pam-openembedded/gdm-launch-environment.pam1
-rw-r--r--data/pam-redhat/gdm-launch-environment.pam1
4 files changed, 0 insertions, 4 deletions
diff --git a/data/pam-exherbo/gdm-launch-environment.pam b/data/pam-exherbo/gdm-launch-environment.pam
index 8357e231..66160fcb 100644
--- a/data/pam-exherbo/gdm-launch-environment.pam
+++ b/data/pam-exherbo/gdm-launch-environment.pam
@@ -8,7 +8,6 @@ auth required pam_permit.so
password required pam_deny.so
-session required pam_loginuid.so
session required pam_systemd.so kill-session-processes=1
session optional pam_keyinit.so force revoke
session required pam_succeed_if.so audit quiet_success user = gdm
diff --git a/data/pam-lfs/gdm-launch-environment.pam b/data/pam-lfs/gdm-launch-environment.pam
index 93827fc6..d926c79d 100644
--- a/data/pam-lfs/gdm-launch-environment.pam
+++ b/data/pam-lfs/gdm-launch-environment.pam
@@ -8,7 +8,6 @@ account include system-account
password required pam_deny.so
-session required pam_loginuid.so
session optional pam_keyinit.so force revoke
# End /etc/pam.d/gdm-welcome
diff --git a/data/pam-openembedded/gdm-launch-environment.pam b/data/pam-openembedded/gdm-launch-environment.pam
index 602217b1..a7e43cdb 100644
--- a/data/pam-openembedded/gdm-launch-environment.pam
+++ b/data/pam-openembedded/gdm-launch-environment.pam
@@ -4,6 +4,5 @@ auth required pam_permit.so
account required pam_nologin.so
account include common-account
password include common-auth
-session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session include common-session
diff --git a/data/pam-redhat/gdm-launch-environment.pam b/data/pam-redhat/gdm-launch-environment.pam
index 17f323e1..8b3e1f55 100644
--- a/data/pam-redhat/gdm-launch-environment.pam
+++ b/data/pam-redhat/gdm-launch-environment.pam
@@ -5,7 +5,6 @@ auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
-session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session include system-auth
session include postlogin