diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-12-17 08:09:21 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-12-17 08:09:21 -0500 |
| commit | 421910e174f8620af345527e7c5f25b346dfd985 (patch) | |
| tree | 21411735f13f9792fda1ac7a4f84271ec2dd8510 /swaylock | |
| parent | 52e72f5dca855decbf800f3b1ca1a73a1e3805d1 (diff) | |
Add PAM configuration for swaylock
Diffstat (limited to 'swaylock')
| -rw-r--r-- | swaylock/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | swaylock/pam/swaylock | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/swaylock/CMakeLists.txt b/swaylock/CMakeLists.txt index 69fe4252..977cc2f7 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 00000000..7ea7a608 --- /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 |
