[GH-ISSUE #42] Check for root privileges. #33

Open
opened 2026-02-26 03:33:48 +03:00 by kerem · 0 comments
Owner

Originally created by @dpdani on GitHub (Oct 12, 2016).
Original GitHub issue: https://github.com/LionSec/katoolin/issues/42

Since basically the entirety of katoolin requires root privileges, it would be a good idea to check for such privileges before attempting an os.system call (would subprocess be a better option?).
Check os.geteuid for further details.
It's only supported on Unix systems, but I think that's ok in this case ;).

Originally created by @dpdani on GitHub (Oct 12, 2016). Original GitHub issue: https://github.com/LionSec/katoolin/issues/42 Since basically the entirety of katoolin requires root privileges, it would be a good idea to check for such privileges before attempting an os.system call (would subprocess be a better option?). Check os.geteuid for further details. It's only supported on Unix systems, but I think that's ok in this case ;).
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/katoolin-LionSec#33
No description provided.