summaryrefslogtreecommitdiff
path: root/pam/swaylock.linux
diff options
context:
space:
mode:
authorsghctoma <sghctoma@gmail.com>2018-08-30 09:58:57 +0200
committersghctoma <sghctoma@gmail.com>2018-08-30 09:58:57 +0200
commit2376a9c5d788daa9894c7396bb2a6c41dfb5df26 (patch)
tree8be01d08b14998fc7694bf74aa644db6bf8a3fd3 /pam/swaylock.linux
parent01e7492d702841bcfebbb99f42866b35ac9f4fe9 (diff)
Add FreeBSD-specific PAM configuration
The "login" PAM configuration means somathing entirely different on FreeBSD than on Linux: if you try to authenticate as the calling user, it OKs the request without prompting for password. The "passwd" config implements the desired functionality, therefore it should be used by swaylock.
Diffstat (limited to 'pam/swaylock.linux')
-rw-r--r--pam/swaylock.linux6
1 files changed, 6 insertions, 0 deletions
diff --git a/pam/swaylock.linux b/pam/swaylock.linux
new file mode 100644
index 0000000..6a36b0d
--- /dev/null
+++ b/pam/swaylock.linux
@@ -0,0 +1,6 @@
+#
+# PAM configuration file for the swaylock screen locker. By default, it includes
+# the 'login' configuration file (see /etc/pam.d/login)
+#
+
+auth include login