1 2 3 4 5 6 7 8 9
# Sample doas.conf # Allow user 'alice' to run commands as root without password permit nopass alice as root # Allow user 'bob' to run commands as root with password permit bob as root # Deny all other attempts deny * as root