-
-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VeraCrypt (gui, Linux) thows a message: "Failed to obtain administrator privileges: invalid option provided" with sudo-rs #1331
Comments
The In Next, if the Not only would removing the option add either irrelevant prompts or user defined input into the error messages, it might also be possible to handcraft a specific SUDO_PROMPT value which deserializes to a valid Exception, which is then thrown. What I would recommend is requesting the addition of this feature/implementation on the sudo-rs GitHub issues. |
So do I get this right:
|
The thing is most of these pipes between these processes and their file descriptors are in use for inter-process communication and introducing random text into any of the pipes is likely to cause some issue. Both of these will have some side effects but it's hard to evaluate how noticeable they'll be. |
Expected behavior
Run as intended
Observed behavior
Throws a popup window with "Failed to obtain administrator privileges: invalid option provided"
Steps to reproduce
Your Environment
VeraCrypt version: 1.26.7
Operating system and version: Linux (NixOS unstable)
System type: 64bit
#Why happes
Because
sudo-rs
has fewer options and doesn't provide-p
flag#Possible fix
Replace:
With:
And I do not understand why it is there in the first place as it uses empty string as argument anyway, but seems to work with both
sudo
andsudo-rs
Tested on:
sudo - 1.9.15p5
sudo-rs - 0.2.2
The text was updated successfully, but these errors were encountered: