mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
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
15 lines
465 B
Text
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
|