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

Added check for effective uid #29

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Added check for effective uid #29

merged 1 commit into from
Nov 28, 2023

Conversation

kontr0x
Copy link
Contributor

@kontr0x kontr0x commented Nov 28, 2023

Added check if used running script is uid 0, which is equal to root.

What would be nice to have, is a check if the sudo binary is present on the system.
A missing sudo binary would result in an endless loop.

Added check if used running script is uid 0, which is equal to root.
@powenn powenn merged commit b23ed0d into powenn:rewrite Nov 28, 2023
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.

2 participants