On 9/17/07, Darrin Chandler <[EMAIL PROTECTED]> wrote:
> problem is. This is why people keep asking you to explain the problem
> more.

Sorry for being vague. Ok, I have these in /etc/sudoers for joeuser.
joeuser is also in the wheel group.

joeuser server = NOPASSWD: /sbin/mount, /usr/libexec/locate.updatedb
joeuser server = NOPASSWD: /usr/local/bin/vim /var/www/conf/httpd.conf
joeuser server = NOPASSWD: /usr/local/bin/vim /etc/rc.local
joeuser server = NOPASSWD: /usr/sbin/apachectl
joeuser server = NOPASSWD: /usr/bin/tail -f /var/www/logs/access_log
joeuser server = NOPASSWD: /usr/bin/tail -f /var/www/logs/error_log
joeuser server = NOPASSWD: /usr/local/bin/vim /etc/motd
joeuser server = NOPASSWD: /usr/local/bin/vim /etc/pf.conf

I am finding that I need to add joeuser to use pkg_* tools, tcpdump as well.

Is this the right way to do this?

Thanks.

Reply via email to