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/include/pam_authenticate.hpp b/include/pam_authenticate.hpp
index 997c297..a66d16b 100644
--- a/include/pam_authenticate.hpp
+++ b/include/pam_authenticate.hpp
@@ -41,7 +41,7 @@
pam_function_conversation, const_cast<char*>(pass_str.c_str())};
pam_handle_t* local_auth_handle = NULL; // this gets set by pam_start
- if (pam_start("dropbear", user_str.c_str(), &local_conversation,
+ if (pam_start("webserver", user_str.c_str(), &local_conversation,
&local_auth_handle) != PAM_SUCCESS) {
return false;
}