Add pam.d smart file

This commit is contained in:
Mario Fetka
2026-04-21 18:08:00 +02:00
parent a4dd6abc12
commit 349dba63d6
2 changed files with 5 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ target_link_libraries(check_login
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/smart.conf DESTINATION ${MARS_NWE_INSTALL_FULL_CONFDIR})
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/smart DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR})
install(FILES smart.pamd DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/pam.d RENAME smart)
install(PROGRAMS apply.pl DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR})
install(PROGRAMS readconfig.pl DESTINATION ${MARS_NWE_INSTALL_FULL_LIBEXECDIR})

4
smart.pamd Normal file
View File

@@ -0,0 +1,4 @@
auth required pam_unix.so
account required pam_unix.so
password required pam_unix.so
session required pam_unix.so