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

Rework to only work with sudo #66

Open
KnightTheCoder opened this issue Apr 16, 2024 · 0 comments
Open

Rework to only work with sudo #66

KnightTheCoder opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request Fix Somethingneeds fiing

Comments

@KnightTheCoder
Copy link
Owner

KnightTheCoder commented Apr 16, 2024

Rework the scripts so they can only be executed by sudo
This would fix priviledge escalation

instead of $HOME create $SUDO_HOME
USER_HOME=$(getent passwd $SUDO_USER | cut -d: -f6)

@KnightTheCoder KnightTheCoder added enhancement New feature or request Fix Somethingneeds fiing labels Apr 16, 2024
@KnightTheCoder KnightTheCoder self-assigned this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Fix Somethingneeds fiing
Projects
None yet
Development

No branches or pull requests

1 participant