```bash # search location of doas.conf find / -type f -name "doas.conf" 2>/dev/null # check the configuration doas -C /path/to/doas.conf # or cat /etc/doas.conf # Execute doas as below doas -u root <command> <arg> ```