On Tue, Jul 21, 2015 at 08:48:16PM -0500, Ed Ahlsen-Girard wrote:
> There seems to be know sample configuration file for doas. I complains
> of not being enabled, and the man pages do not say how to do that.

To `enable' doas(1), you need to have an `/etc/doas.conf' file.  It must
be owned by root, and it may only be writable by its owner (permissions
0644, for example).

The syntax is explained in doas.conf(5) along with some sample
configurations.

The rule

'permit eagirard'

would allow the user eagirard to execute any command as root after
entering his password.

Reply via email to