"tekk" <[email protected]> writes:

> I've never used a fully qualified path with doas and it works just fine.
> ("doas mount", "doas pkg_add", "doas mg".) Do you mean in the config file
> or something? Requiring you to specify a full path on filtered commands
> or whatever? This may just be a recent change though, I only updated
> my system 2 days ago.

Ok my bad (again): as advised by the man page, I used an absolute path
as command in /etc/doas.conf:
   permit nopass :wheel cmd /sbin/mount
with this, I should "doas /sbin/mount".

Changing to:
   permit nopass :wheel cmd mount
works as you said.
-- 
Manuel Giraud

Reply via email to