Create separate pam config for webserver instead of using dropbear's
Signed-off-by: Jennifer Lee <jennifer1.lee@intel.com>
Change-Id: I18850e82e116683b1c56e3a0eb23511b09aeed51
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a7a5a9e..a932ef9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -158,7 +158,9 @@
add_definitions ("-DWEBSERVER_DISABLE_PAM")
endif ()
-add_definitions ("-Wno-attributes")
+add_definitions("-Wno-attributes")
+# Copy pam-webserver to etc/pam.d
+install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pam-webserver DESTINATION /etc/pam.d/ RENAME webserver)
# tinyxml2
find_package (tinyxml2 REQUIRED)