Created
March 21, 2010 04:03
-
-
Save itspriddle/339077 to your computer and use it in GitHub Desktop.
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 the below to /etc/sudoers (use visudo as root) | |
# to allow `sudo apachectl [action]` without | |
# the need for a password | |
# Cmnd alias specification | |
Cmnd_Alias APACHECTL = /usr/sbin/apachectl | |
# User privilege specification | |
%admin ALL=NOPASSWD: APACHECTL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment