1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/x11/hyprlock/files/patch-pam_hyprlock
2024-03-02 01:06:36 +01:00

17 lines
531 B
Plaintext

"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/hyprlock.orig 2024-03-01 23:49:44 UTC
+++ pam/hyprlock
@@ -1,5 +1,4 @@
-# PAM configuration file for hyprlock
-# the 'login' configuration file (see /etc/pam.d/login)
+# PAM configuration for hyprlock. Only uses auth facilities.
-auth include login
+auth include unix-selfauth