Dear Maintainer,
While playing around with super on a development box i added the following line
to my super.tab:
test 'echo test ok' user
and got the error:
super (line 35 in file `/etc/super.tab'):
Format error in super.tab file: filename `echo test ok' is not an
absolute path.
Use global option relative_path=y if you really want such foolishness!
So I did some pondering and decided that relative_path=n is a good idea, and
that typing /usr/bin/echo instead of echo in one configuration file was not
that hard, and went on to play with some other options.
The manpage for super.tab gives the example:
op/* /usr/local/super/scripts/* :operators uid=0
so I was trying the line:
/etc/init.d/* * :sudoers
and it gives me the error:
super (line 37 in file `/etc/super.tab'):
Format error in super.tab file: filename `*' is not an absolute path.
Use global option relative_path=y if you really want such foolishness!
how anoying. the following workaround works:
init.d/* /etc/* :sudoers
as does:
/etc/init.d/* /* :sudoers
but ...
how about something like
/(etc/init.d/*) /* :sudoers