summaryrefslogtreecommitdiff
path: root/x11/gdm/files/patch-data_pam-exherbo_gdm-launch-environment.pam
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm/files/patch-data_pam-exherbo_gdm-launch-environment.pam')
-rw-r--r--x11/gdm/files/patch-data_pam-exherbo_gdm-launch-environment.pam25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11/gdm/files/patch-data_pam-exherbo_gdm-launch-environment.pam b/x11/gdm/files/patch-data_pam-exherbo_gdm-launch-environment.pam
new file mode 100644
index 000000000000..249c803fd05d
--- /dev/null
+++ b/x11/gdm/files/patch-data_pam-exherbo_gdm-launch-environment.pam
@@ -0,0 +1,25 @@
+--- data/pam-exherbo/gdm-launch-environment.pam.orig 2022-01-12 14:15:56 UTC
++++ data/pam-exherbo/gdm-launch-environment.pam
+@@ -1,15 +1,16 @@
+-account required pam_nologin.so
+-account required pam_succeed_if.so audit quiet_success user = gdm
+-account required pam_permit.so
++#%PAM-1.0
+
+-auth required pam_env.so
+ auth required pam_succeed_if.so audit quiet_success user = gdm
+ auth required pam_permit.so
++auth required pam_env.so
+
++account required pam_succeed_if.so audit quiet_success user = gdm
++account required pam_permit.so
++
+ password required pam_deny.so
+
+--session optional pam_systemd.so
++session optional pam_loginuid.so
+ session optional pam_keyinit.so force revoke
+ session required pam_succeed_if.so audit quiet_success user = gdm
+ session required pam_permit.so
+-
++-session optional pam_systemd.so