I see people talking about doas saying it’s just like sudo but with less features. I’m just wondering if there is any situation where you should use doas or if it’s just personal preference.
I see people talking about doas saying it’s just like sudo but with less features. I’m just wondering if there is any situation where you should use doas or if it’s just personal preference.
Sudo is 6 megabytes
Removed by mod
The concern is not storage space, but potential bugs leading to security issues. For OpenBSD this is very important, and so they made doas.
Removed by mod
Tedu (author of doas) wrote about it in 2015:
“There were some concerns that sudo was too big, running too much code in a privileged process. And there was also pressure to enable even more options, because the feature set shipped in base wasn’t big enough. (As shipped in OpenBSD, the compiled sudo was already five times larger than just about any other setuid program.)”
https://flak.tedunangst.com/post/doas