mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-28 18:29:05 +01:00
- Check if running as root (os.geteuid() == 0) - If root: fix permissions directly without sudo - If not root: use ProcessUtilities.normalExecutioner() which handles privileged commands properly (no password prompt needed) - Remove sudo dependency that was causing password prompts Fixes: sudo password prompt errors when uninstalling plugins