-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sudo is being used directly all over the place, which doesn't work when the user is already root. Add a SUDO and SUDO_W_ENV variable that evaluates to the equivalent sudo command, but is blanked when running as root. Also add a sudo and sudo_w_env alias that map to a fake-root function that just runs the command passed without any sudo call, so any attempted use of sudo by python scripts triggered from the cmd-* scripts won't actually use sudo when running as root.
- Loading branch information
Showing
3 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters