I'd like to be able to restart apache under OS X Lion without entering a password. I tried placing this in /etc/sudoers:
<User> ALL= NOPASSWD: /usr/sbin/apachectl
But when I execute apachectl graceful I get an error message:
This operation requires root.
What do I have to do, in order to get this working?