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

Support multiple root escalation tools for child process #46

Merged
merged 5 commits into from
Apr 16, 2023
Merged

Conversation

ifd3f
Copy link
Owner

@ifd3f ifd3f commented Apr 16, 2023

Closes #44
This adds (in addition to sudo support) doas and su.

@ifd3f ifd3f linked an issue Apr 16, 2023 that may be closed by this pull request
@ifd3f ifd3f merged commit ed04531 into main Apr 16, 2023
@ifd3f ifd3f deleted the doas-and-su branch April 16, 2023 07:31
MacOSDenial,
}

#[cfg(target_os = "linux")]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should also be used on FreeBSD and OpenBSD and such

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's true, but we'll cross that bridge when we get there, because I have not compiled this for either OS yet.

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.

Escalate using doas or su if no sudo is detected
2 participants