Well, I use sudo-rs
, so...
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Security may be more likely to approve some users having doas, sudo is a no go in many restricted environment.
BTW I use pkexec
You feel smarter... Yeah, that's pretty much it.
Well, i believe in all showcased cases from people here, they are NOT replacing sudo entirely (Except if some are from BSD or if I'm incorrect with this assumption). They are just replacing their user habit with doas and use that command instead. In the end, all unix scripts or apps expect using sudo (If not, su) so... ### What's even the need to ?
- Size : Installed on top of the already system present sudo.
- Security : Only perhaps if you made a sudo alias to doas (But since it isn't entirely 1:1 identical, if anyone have a cleaner way of implementing that, I'm all hear)
- Simplicity : You now have two tools. A easy to use keycard, and a key. The second is more complicated to use, so you use it rarely but it's still two tools instead of one.
- Less dependencies : Again, unless you can actually replace it ENTIRELY, it's just an added tool (Still almost dependency free)
Really looking to corrections if i do some
I just have a root terminal on the side.
I find the config syntax cleaner.
Doas has about 90% of features with 10% of code size of sudo.
And rdo/ssu have ~140 lines of C code. Anyone knows similiar?
Doas is more secure, sudo has had a few critical vulnerabilities in the past, because the codebase is much larger. Sudo has like a million features that most people don't need, but they significantly increase attack surface.
Doas is more secure, sudo has had a few critical vulnerabilities in the past, because
.. it's newer. You wanted to say "it's newer." It has nowhere near the history, and looks better because it's newer.
Please, now, trot out the "use sudo if you're old" memes, because we grew that skin extra thick over the systemd counter-hate.
doas uses like 10MIB less of mem than sudo.
What's the point of using MiB if you're just gonna say "like" lol
Because it is not exactly 10MiB. Should have used about instead of like though.
I mean just say MB if you're not being exact
MiB and MB are not the same thing. Just that many CLI tools in linux use MiB instead so I just got used to typing MiB lol.
The difference between MB and MiB is 24 kilobytes
My point is that if you're already estimating, the difference is negligible
24 kibibytes. I dislike the annoying difference between kiB and kB, etc, etc as I also think in kB and MB as the binary values because that's how I was taught for many years.
Again. If you're not being accurate then theres no point jn being precise
You're replying to the wrong person. I added some info over the difference between your comment and someone else's acktually comment.
I don't care either way; an approximation in MiB and MB is the same difference to me. The other person and yourself have got into a debate about nothing in my opinion.
I'm not arguing for or against your point. But it's actually a difference of 48.576 kB to be pedantic
doas, afaik, was originally made for FreeBSD, so some of its features aren't compatible with/haven't been implemented for Linux. That may or may not be an important issue for you to consider.
OpenBSD actually, but close