4 ms·
Sudo got so complex that OpenBSD replaced it with their own much simpler "doas." But even doas has grown some additional features since it was first released.
by throwawayboise 5y ago
Sudo got so complex that OpenBSD replaced it with their own much simpler "doas." But even doas has grown some additional features since it was first released.
- nerdponx 5y agoWhat's the origin of this complexity? Too many configurations and settings? The project being really old and lacking a strong culture around software architecture? Something else?
- throwawayboise 5y agoI believe it's mostly years of "creeping featuritis" but I don't really know the history in detail. Just read the sudoers(5) manpage and let the sense of hopelessness slowly overtake you.
- foxfluff 5y agoThere's irony in the man page telling you not to despair. There's an xkcd about it: https://xkcd.com/1343/ https://xkcd.com/1343/ By comparison, the manual to doas.conf is pretty short: https://man.openbsd.org/doas.conf.5 https://man.openbsd.org/doas.conf.5 It seems like OpenBSD was also stuck on an older version of sudo when it was removed. It's possible they just weren't having all the churn of such a large tool? But then they also missed a bunch of important fixes: https://marc.info/?l=openbsd-bugs&m=142270265216628&w=2 https://marc.info/?l=openbsd-bugs&m=142270265216628&w=2 More: https://marc.info/?l=openbsd-ports&m=143465998814989&w=2 https://marc.info/?l=openbsd-ports&m=143465998814989&w=2