@FreeBSDFoundation@mastodon.social
2026-05-08 17:08 UTC
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
Replies (1)
-
@omar@mastodon.bsd.cafe 2026-05-08 17:22
@FreeBSDFoundation@mastodon.social sure, we need a video for this... and they cry about dying internet. Anyway, for the rest with a brain and by respect to Olivier Certner, here a writeup on the freaking website of the FreeBSD foundation. https://freebsdfoundation.org/our-work/journal/browser-based-edition/freebsd-15-0/credentials-transitions-with-mdo1-and-mac_do4/ dammit!