Hello,

I used sudo wish some expressions in sudoer like:

  foo ALL=NOPASSWD: /bin/bar -a [a-zA-Z][a-zA-Z][a-zA-Z]

This matches commands like „/bin/bar abc" for example.



I try in doas.conf:


  permit nopass foo as root cmd /bin/bar args -a [a-zA-Z][a-zA-Z][a-zA-Z]


but this does not work. Is there a way to use regular expressions in the
configuration like in sudo?


Sebastian

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to