Some tips on using doas the sudo alternative ported from Openbsd
# pkg install doas
Create the doas config file
# vi /usr/local/etc/doas.conf
The username and groups follow the chown syntax,
ther username or group is preceded by the : colon character
FreeBSD is plain and simple my all time favorite Unix operating system. And yes: technically speaking it's Unix-like but that's mostly due to licensing concerns. If you look at the backwards compatibility aspects (see /usr/src/sys/amd64/conf/GENERIC, the COMPAT_FREEBSDxx...