diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-17 08:09:21 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-17 08:30:45 -0500 |
commit | 7b8f02146fb6279bd9437cecda758a2f4303aea9 (patch) | |
tree | 21411735f13f9792fda1ac7a4f84271ec2dd8510 /swaylock | |
parent | Merge pull request #348 from mikkeloscar/bar-segv (diff) | |
download | sway-7b8f02146fb6279bd9437cecda758a2f4303aea9.tar.gz sway-7b8f02146fb6279bd9437cecda758a2f4303aea9.tar.zst sway-7b8f02146fb6279bd9437cecda758a2f4303aea9.zip |
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( | |||
27 | DESTINATION bin | 27 | DESTINATION bin |
28 | COMPONENT runtime | 28 | COMPONENT runtime |
29 | ) | 29 | ) |
30 | |||
31 | install( | ||
32 | FILES ${CMAKE_CURRENT_SOURCE_DIR}/pam/swaylock | ||
33 | DESTINATION /etc/pam.d/ | ||
34 | COMPONENT data | ||
35 | ) | ||
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 @@ | |||
1 | # | ||
2 | # PAM configuration file for the swaylock screen locker. By default, it includes | ||
3 | # the 'system-auth' configuration file (see /etc/pam.d/login) | ||
4 | # | ||
5 | |||
6 | auth include system-auth | ||