Skip to content
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

add askpass named pipe support (GSUDO_ASKPASS_NAMED_PIPE) #388

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

awakecoding
Copy link

We're integrating gsudo in Remote Desktop Manager, and one thing we're missing is a way to inject the password to launch the process as another user. One way we've done this in the past was to patch software to accept a named pipe name through an optional environment variable, and treat it as an "askpass" named pipe that just serves the password once. The named pipe is only used as a replacement for the current prompt if the GSUDO_ASKPASS_NAMED_PIPE environment variable has been set.

Alternatively, we could add a command-line parameter to pass the optional "askpass named pipe" name, but we're happy with just this environment variable, unless you wish to have it changed or done differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant