summaryrefslogtreecommitdiff
path: root/include/pam_authenticate.hpp
diff options
context:
space:
mode:
authorJennifer Lee <jennifer1.lee@intel.com>2018-05-24 00:05:20 +0300
committerEd Tanous <ed.tanous@intel.com>2018-06-29 22:41:15 +0300
commit03346704ba495c30614a8e6f8f393d3ac775beb9 (patch)
tree09e9adc7afae50c8ec133a79944650b83b60271e /include/pam_authenticate.hpp
parente439f0f86c238639024daa4d65aaf5761bce7e3f (diff)
downloadbmcweb-03346704ba495c30614a8e6f8f393d3ac775beb9.tar.xz
Create separate pam config for webserver instead of using dropbear's
Signed-off-by: Jennifer Lee <jennifer1.lee@intel.com> Change-Id: I18850e82e116683b1c56e3a0eb23511b09aeed51
Diffstat (limited to 'include/pam_authenticate.hpp')
-rw-r--r--include/pam_authenticate.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pam_authenticate.hpp b/include/pam_authenticate.hpp
index 997c2974bd..a66d16b347 100644
--- a/include/pam_authenticate.hpp
+++ b/include/pam_authenticate.hpp
@@ -41,7 +41,7 @@ inline bool pam_authenticate_user(const boost::string_view username,
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;
}