aboutsummaryrefslogtreecommitdiff
path: root/system/etc/pam.d
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-02-06 03:53:51 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-02-06 03:53:51 +0300
commitb943ef609ef9aeba96599770f730d27b529146a6 (patch)
tree4cea10e6576ed1b8a47ddead13301aa6e4f42ae4 /system/etc/pam.d
parentf0cc6eec402a0deceafc0e0663d77008a969d7aa (diff)
downloadswayrice-b943ef609ef9aeba96599770f730d27b529146a6.tar.gz
swayrice-b943ef609ef9aeba96599770f730d27b529146a6.zip
cleanup: remove old files, improve install
Clean up old files and improve installation of system-wide configuration.
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