summaryrefslogtreecommitdiff
path: root/x11/gtklock/files/patch-pam_gtklock
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-05-06 15:44:22 +0200
committerJan Beich <jbeich@FreeBSD.org>2023-12-01 15:11:25 +0100
commit3dc4863f379f5bb2a2d0b5ec1d5dce208e08b965 (patch)
treeb993721df451b91b8997b8f3ce39fed6f99c5b98 /x11/gtklock/files/patch-pam_gtklock
parentnet-mgmt/netbox: Update to 3.6.6 (diff)
x11/gtklock: add new port
gtklock is a lockscreen based on gtkgreet. It uses the wlr-layer-shell and wlr-input-inhibitor Wayland protocols. Works on sway and other wlroots-based compositors. https://github.com/jovanlanik/gtklock
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