Hi all,

I'm trying to allow users in the wheel group to run /etc/init.d/cupsd
restart
I edited /etc/sudoers with visudo to the following but it doesn't work, any
ideas?

%wheel ALL=(ALL)        NOPASSWD: /sbin/runscript.sh
%wheel ALL=(ALL)        NOPASSWD: /etc/init.d/cupsd restart

when I try with my normal acount I get
[EMAIL PROTECTED] ~ $ /etc/init.d/cupsd restart
* /sbin/runscript.sh: must be root to run init scripts
but I'm in the wheel group
[EMAIL PROTECTED] ~ $ id
uid=1000(jak) gid=100(users) groups=10(wheel),100(users)

Regards

jakommo

Reply via email to