Add PAM configuration for swaylock

This commit is contained in:
Drew DeVault 2015-12-17 08:09:21 -05:00
parent 3a829362f2
commit 7b8f02146f
2 changed files with 12 additions and 0 deletions

View File

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

6
swaylock/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