Save this configuration file on /etc/sudoers.d/myuser
Last active
June 18, 2023 10:22
-
-
Save itsgitz/3be65f57f56eb1b34c589c480c79a0be to your computer and use it in GitHub Desktop.
Sudoers configuration example
This file contains hidden or 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
myuser ALL=NOPASSWD:SETENV:/usr/bin/ln,/usr/bin/rsync,/usr/bin/mkdir,/usr/bin/chmod,/usr/bin/chown,/usr/local/bin/composer,/usr/bin/pm2,/usr/bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment