Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
lunardunno
c85705a66d
authentication prompt in Ubuntu 26.04
Handling the password prompt in Ubuntu 26.04
2026-05-14 21:29:13 +04:00

View file

@ -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;