_header(`doas(1)') _bibliography(` _bentr(`_link(`doas(1)', `http://man.openbsd.org/doas.1') (OpenBSD)') _bentr(`_link(`doas.conf(5)', `http://man.openbsd.org/doas.conf.5') (OpenBSD)') _bentr(`_link(`doas mastery', `https://flak.tedunangst.com/post/doas-mastery')') ')

doas(1) is a systems administration tool that performs a command as a different user. doas(1) is configured in doas.conf(5).

For a pretty typical configuration, where users in the wheel group are meant to be administrating the system, the set-up session usually looks something like this:

$ su
# ed /etc/doas.conf
/etc/doas.conf: No such file or directory
a
permit :wheel
.
w
14
q

_man(`doas.conf(5)') is located in _code(`$PREFIX/etc/doas.conf'), except on Alpine Linux, where it's located in _code(`$PREFIX/etc/doas.d/doas.conf').