see doas.conf(5):
args ... Arguments to command. If specified, the command arguments
provided by the user need to match for the command to be
successful. Specifying args alone means that command should
be run without any arguments.
You forgot the args keyword.
On 04/01/16 23:33, Tor Houghton wrote:
> Hi,
>
> Now that sudo is out of base, I am wondering -- do I need to add it again,
> or does doas.conf allow for specifying commands with arguments?
>
> Obviously not like this (doas doesn't like that), but akin to:
>
> permit nopass support as root cmd /usr/sbin/rcctl restart ntpd
>
> I don't want the support user to be able to use rcctl on any daemon process,
> basically.
>
> Kind regards,
>
> Tor