ports/x11/gtklock/files/patch-pam_gtklock
Jan Beich 3dc4863f37 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
2023-12-01 15:11:25 +01:00

11 lines
341 B
Text

"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