Still using sudo or doas for privilege escalation?
FreeBSD includes a built-in alternative you may have overlooked: mdo. In this short video, we walk through how to enable and use mdo, including loading the mac_do kernel module, making it persistent at boot, defining privilege rules, and running commands as root with mdo command.
Watch the walkthrough: https://www.youtube.com/watch?v=dA-TNsVG9IY
Comments (0)