- Mon 18 May 2026
- FreeBSD
mdo on FreeBSD 15: Base-System Privilege Delegation with mac_do
FreeBSD 15 ships mdo(1) and the mac_do(4) policy module in the base system. It replaces sudo and doas for most of my hosts, needs no ports, and configures with a single sysctl. This article walks through enabling it, the rule syntax, a few real examples, and a short detour into the security sysctls I run on every box.