1 |
Hi all, |
2 |
|
3 |
I'm trying to allow users in the wheel group to run /etc/init.d/cupsd |
4 |
restart |
5 |
I edited /etc/sudoers with visudo to the following but it doesn't work, any |
6 |
ideas? |
7 |
|
8 |
%wheel ALL=(ALL) NOPASSWD: /sbin/runscript.sh |
9 |
%wheel ALL=(ALL) NOPASSWD: /etc/init.d/cupsd restart |
10 |
|
11 |
when I try with my normal acount I get |
12 |
jak@ns3 ~ $ /etc/init.d/cupsd restart |
13 |
* /sbin/runscript.sh: must be root to run init scripts |
14 |
but I'm in the wheel group |
15 |
jak@ns3 ~ $ id |
16 |
uid=1000(jak) gid=100(users) groups=10(wheel),100(users) |
17 |
|
18 |
Regards |
19 |
|
20 |
jakommo |