From 18819d56e76703b0b184f22e0b92a1057d0cb9ec Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 17 Dec 2015 08:09:21 -0500 Subject: [PATCH] Add PAM configuration for swaylock --- CMakeLists.txt | 6 ++++++ pam/swaylock | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 pam/swaylock 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