3 ms·
Does anyone have any opinions on doas vs sudo? I've heard doas recommended as being more minimalistic, and various advantages that brings. What are the pros a
by SkyMarshal 3y ago
Does anyone have any opinions on doas vs sudo? I've heard doas recommended as being more minimalistic, and various advantages that brings. What are the pros and cons between the two?
- charcircuit 3y agoMy opinion is to have neither. Requiring users to switch to an account that has different privileges is evidence of poor design of the operating system. Having a root user who has full privileges over the entire system is also poor design as it is the opposite of the principle of least privilege. If a user has the privilege to do something they should be able to do it with their normal account.
- forty 3y agoI'm happy that my mistakenly typed rm -rf / fail when I use my non root user (normal account) even though I also have root for when I do want to mess things up.
- DANmode 3y agoIf your use of sudo featureset is minimal, it's true that doas can act as "reduced attack surface" replacement. Cons: humans (and some software) expecting "sudo" will work while interacting with your system.