Commandline Options
Get a new shell as root
doas -s
execute command as root
doas echo foo
doas whoami
doas.conf
Allow full access to every command
permit nopass noqqe as root
permit nopass noqqe as otheruser
permit nopass keepenv root as root
Access to a single command
permit nopass noqqe as root cmd /bin/whoami