aboutsummaryrefslogtreecommitdiff
path: root/system/etc/pam.d
diff options
context:
space:
mode:
Diffstat (limited to 'system/etc/pam.d')
-rw-r--r--system/etc/pam.d/swaylock7
-rw-r--r--system/etc/pam.d/system-local-login8
2 files changed, 15 insertions, 0 deletions
diff --git a/system/etc/pam.d/swaylock b/system/etc/pam.d/swaylock
new file mode 100644
index 0000000..1c190f0
--- /dev/null
+++ b/system/etc/pam.d/swaylock
@@ -0,0 +1,7 @@
+#
+# PAM configuration file for the swaylock screen locker. By default, it includes
+# the 'login' configuration file (see /etc/pam.d/login)
+#
+
+auth include login
+auth optional pam_gnupg.so
diff --git a/system/etc/pam.d/system-local-login b/system/etc/pam.d/system-local-login
new file mode 100644
index 0000000..397539d
--- /dev/null
+++ b/system/etc/pam.d/system-local-login
@@ -0,0 +1,8 @@
+#%PAM-1.0
+
+auth include system-login
+auth optional pam_gnupg.so
+account include system-login
+password include system-login
+session include system-login
+session optional pam_gnupg.so