From: laredotornado on
Hi,

I"m using Mac 10.6.3. I have added this entry to my /etc/sudoers
file ...

davea ALL = NOPASSWD:APACHECTL

and (when logged in as "davea"), I have this entry in my
~/.bash_profile file ...

alias restart='sh ~/Tomcat/bin/restart.sh; sudo /usr/sbin/apachectl
restart'

However when I run the "restart" command, I'm prompted for a password.
Where am I going astray? I thought adding myself to the /etc/sudoers
file would prevent password prompting.

Thanks, - Dave