summaryrefslogtreecommitdiff
path: root/include/pam_authenticate.hpp
diff options
context:
space:
mode:
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 0825dd6d9f..d0ca1b0398 100644
--- a/include/pam_authenticate.hpp
+++ b/include/pam_authenticate.hpp
@@ -37,7 +37,7 @@ inline bool pam_authenticate_user(const std::string& username,
pam_function_conversation, const_cast<char*>(password.c_str())};
pam_handle_t* local_auth_handle = NULL; // this gets set by pam_start
- if (pam_start("su", username.c_str(), &local_conversation,
+ if (pam_start("dropbear", username.c_str(), &local_conversation,
&local_auth_handle) != PAM_SUCCESS) {
return false;
}