Why simpler, more light weight software is sometimes better.

Recently I switched from sudo to doas by uninstalling the sudo package and replacing it with the opendoas package using pacman (which caused pacaur to uninstall itself but now I use rua which supports doas). Why did I change? sudo is 4.3 MB installed and (open)doas is 46.6 KB installed. Also the /etc/doas.conf format is a lot simpler than /etc/sudoers.

permit :wheel as root in doas is the same as %wheel ALL=(ALL) ALL in sudo. Want it to be persistent so you don't have to type your password in every time? permit persist :wheel as root. Need one user, say bob, instead of the entire wheel group to be able to use root? permit bob as root. The syntax for the configuration is so simplistic that it's a boon for users like me who want simple and easy to use slim software.

However, using slimmer software could cause you to lose some settings you're accustomed to. OpenBSD is a very slim version of BSD (compared to FreeBSD) and it uses doas as it's default permission elevation command, while it does come with GUIs, not only do you have to turn it on yourself but it's also multiple window managers (fvwm, cwm and twm). It also forgoes systemd.

Hence, slimmer software is sometimes better if it fits your purpose, if it doesn't: don't use it.

links

social