Comment on What is the fundamental difference between sudo and doas ?
TheViking@nord.pub 5 months agoSudo is widely used, while Doas is in theory better ??
Comment on What is the fundamental difference between sudo and doas ?
TheViking@nord.pub 5 months agoSudo is widely used, while Doas is in theory better ??
BananaTrifleViolin@piefed.world 5 months ago
Yeah, Sudo has been around for ages and is in pretty much every distro. So Doas just hasn’t really taken off due to inertia. You can install it yourself in many distros, but people tend to default to what they know. I’m not sure if any distros default to it. Also tutorials all over the internet use “sudo” so it kinda embeds it more as THE tool.
It’s similar with a lot of the core GNU utilities. For example “ls” lists directories and it’s everywhere, but there are actually better written newer alternatives. They just aren’t as widespread because people tend to use the GNU utilities together. I personally like eza for example.
forestbeasts@pawb.social 2 weeks ago
Psst: ls and such aren’t just GNU. GNU did NOT invent them, they are not GNU-specific. Those are from the Unix Days of Yore and Myth.
The GNU people were just the first to write open source implementations of them. Later on BSD, which may have been developed at the same time?, went open source too (and the various BSDs out there today are descended from that).
(well, technically BSD was always open source but it got caught up in shitty lawsuits for years)
Not replacing ls, cp, etc. isn’t just a thing of “oh but those are the GNU ones!”. It’s a thing of “those are the standard, and you can reasonably expect to find them installed on anything”. (And also because they’re good enough for the most part.)
Sudo is less of a standard; AFAWK in those days they just used su.
– Frost