Last active
August 9, 2020 05:44
-
-
Save utylee/eeca9b7845aff94198a15d4e3f89b660 to your computer and use it in GitHub Desktop.
sudo root pyenv use python3 howto sudoer sudo visudo
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
add any necessary path (e.g., /app/pyenv/shims) to secure_path, and it will be passed to sudo commands. | |
Defaults secure_path = /app/pyenv/libexec:/app/pyenv/shims:/sbin:/bin:/usr/sbin:/usr/bin | |
more: define-path-environment-variable-sudo-commands | |
from: https://github.com/pyenv/pyenv/issues/79 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment