doas
More info
- Creator
- Ted Unangst
- Released
- 2015
- Type
- Command-line utility
- License
- ISC
OpenBSD's minimalist replacement for sudo: run a command as another user, and not much else.
Ted Unangst wrote doas for OpenBSD 5.8 in 2015, having concluded that sudo had grown into a program whose configuration language was an attack surface in its own right. The rules in /etc/doas.conf are few and readable: permit persist :wheel lets the wheel group become root and remembers the password for a while. The code is a fraction of sudo's size.
What's missing is missing on purpose — no LDAP rules, no plugin architecture, no detailed session logs. The OpenDoas port brought it to Linux, and Alpine Linux has made it the preferred choice. Anyone who genuinely needs sudo's fine-grained control should keep sudo, but most sudo users never write more than one line of sudoers.