From 7b8f02146fb6279bd9437cecda758a2f4303aea9 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 --- swaylock/CMakeLists.txt | 6 ++++++ swaylock/pam/swaylock | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 swaylock/pam/swaylock diff --git a/swaylock/CMakeLists.txt b/swaylock/CMakeLists.txt index 69fe4252c..977cc2f78 100644 --- a/swaylock/CMakeLists.txt +++ b/swaylock/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/swaylock/pam/swaylock b/swaylock/pam/swaylock new file mode 100644 index 000000000..7ea7a6089 --- /dev/null +++ b/swaylock/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