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