ports/x11/swaylock/files/patch-pam_swaylock
Jan Beich 2008b683e1 x11/swaylock: unbreak PAM locking
Since 1.5 it includes "login" service which doesn't ask for password
from user running Wayland session. Before pam_authenticate(3) failed
with PAM_AUTH_ERR due to missing permissions password database.

PR:		248053
Reported by:	many
Submitted by:	andrew|_|tao11.riddles.org.uk, jbeich
Tested by:	ashish
2020-07-17 22:12:29 +00:00

15 lines
465 B
Text

"login" has "auth sufficient pam_self.so" but a screen locker is
supposed to ask for password regardless.
--- pam/swaylock.orig 2019-01-29 19:48:00 UTC
+++ pam/swaylock
@@ -1,6 +1,6 @@
#
-# PAM configuration file for the swaylock screen locker. By default, it includes
-# the 'login' configuration file (see /etc/pam.d/login)
+# PAM configuration for the "swaylock" service. swaylock(1) only uses
+# auth facilities.
#
-auth include login
+auth include system