Add PAM configuration for swaylock

This commit is contained in:
Drew DeVault 2015-12-17 08:09:21 -05:00
parent 16cb8ddd8e
commit 18819d56e7
2 changed files with 12 additions and 0 deletions

View File

@ -27,3 +27,9 @@ install(
DESTINATION bin DESTINATION bin
COMPONENT runtime COMPONENT runtime
) )
install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/pam/swaylock
DESTINATION /etc/pam.d/
COMPONENT data
)

6
pam/swaylock Normal file
View File

@ -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