Desired behavior
VeraCrypt should optionally use doas instead of sudo for privilege escalation on systems where doas is installed, improving compatibility with lightweight Unix setups.
Screenshots/Mockup/Designs
N/A
Additional information
grep -n "sudoAbsolutePath" src/Core/Unix/CoreService.cpp
418: string sudoAbsolutePath = Process::FindSystemBinary("sudo", errorMsg);
419: if (sudoAbsolutePath.empty())
426: std::string popenCommand = sudoAbsolutePath + " -n " + trueAbsolutePath + " > /dev
direct stderr to stdout (2>&1) to be able to catch the result of the command
Desired behavior
VeraCrypt should optionally use doas instead of sudo for privilege escalation on systems where doas is installed, improving compatibility with lightweight Unix setups.
Screenshots/Mockup/Designs
N/A
Additional information
grep -n "sudoAbsolutePath" src/Core/Unix/CoreService.cpp
418: string sudoAbsolutePath = Process::FindSystemBinary("sudo", errorMsg);
419: if (sudoAbsolutePath.empty())
426: std::string popenCommand = sudoAbsolutePath + " -n " + trueAbsolutePath + " > /dev
direct stderr to stdout (2>&1) to be able to catch the result of the command