summaryrefslogtreecommitdiff
path: root/x11/gtklock/files/patch-pam_gtklock
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gtklock/files/patch-pam_gtklock')
-rw-r--r--x11/gtklock/files/patch-pam_gtklock11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/gtklock/files/patch-pam_gtklock b/x11/gtklock/files/patch-pam_gtklock
new file mode 100644
index 000000000000..b3320bb6725c
--- /dev/null
+++ b/x11/gtklock/files/patch-pam_gtklock
@@ -0,0 +1,11 @@
+"login" has "auth sufficient pam_self.so" but a screen locker is
+supposed to ask for password regardless.
+
+pam_unix(8) requires root priveleges to access master.passwd(5),
+so try authenticating via setuid helper first.
+
+--- pam/gtklock.orig 2023-05-06 13:44:22 UTC
++++ pam/gtklock
+@@ -1 +1 @@
+-auth include login
++auth include unix-selfauth