summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-12-17 08:09:21 -0500
committerDrew DeVault <sir@cmpwn.com>2015-12-17 08:30:45 -0500
commit18819d56e76703b0b184f22e0b92a1057d0cb9ec (patch)
tree0cd7467b805b02b6a0fb3a93f3c9f41a0488ee63
parent16cb8ddd8e9b37c269c4feeba69899520d4f43f4 (diff)
Add PAM configuration for swaylock
-rw-r--r--CMakeLists.txt6
-rw-r--r--pam/swaylock6
2 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69fe425..977cc2f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,3 +27,9 @@ install(
DESTINATION bin
COMPONENT runtime
)
+
+install(
+ FILES ${CMAKE_CURRENT_SOURCE_DIR}/pam/swaylock
+ DESTINATION /etc/pam.d/
+ COMPONENT data
+)
diff --git a/pam/swaylock b/pam/swaylock
new file mode 100644
index 0000000..7ea7a60
--- /dev/null
+++ b/pam/swaylock
@@ -0,0 +1,6 @@
+#
+# PAM configuration file for the swaylock screen locker. By default, it includes
+# the 'system-auth' configuration file (see /etc/pam.d/login)
+#
+
+auth include system-auth