diff --git a/client/core/controllers/selfhosted/installController.cpp b/client/core/controllers/selfhosted/installController.cpp index c862f4723..cb9d0f121 100644 --- a/client/core/controllers/selfhosted/installController.cpp +++ b/client/core/controllers/selfhosted/installController.cpp @@ -618,7 +618,7 @@ ErrorCode InstallController::isUserInSudo(const ServerCredentials &credentials, return ErrorCode::ServerUserDirectoryNotAccessible; if (stdOut.contains("sudoers") || stdOut.contains("is not allowed to run sudo on")) return ErrorCode::ServerUserNotAllowedInSudoers; - if (stdOut.contains("password is required")) + if (stdOut.contains("password is required") || stdOut.contains("authentication is required")) return ErrorCode::ServerUserPasswordRequired; return error;