Sebastian John wrote: > 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?
This is probably a case where you should install the sudo pkg.