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.

You are viewing a single thread.
View all comments
12 points

I just use doas because sudo has a bunch of features i don’t care about or use, and doas does everything i need while being significantly smaller.

permalink
report
reply
10 points

Does the size of a 6kb program really make that much of a difference?

Side note: If I’m reading this right (ignoring dependencies) sudo is 6kb while doas is 14kb.

permalink
report
parent
reply
16 points

Sudo is 6 megabytes

permalink
report
parent
reply
18 points

Damn, that’s like 4 floppies!

permalink
report
parent
reply
14 points

6,054.0 kB, not 6 vs 14.0 kB

permalink
report
parent
reply
13 points

Ya know, I wish I could at least say something about being european and using commas instead of periods for decimal points, but I can’t even say that. Still 6MB fully installed is nothing these days.

permalink
report
parent
reply
10 points

Less lines of code needed means less chances of errors and potential vulnerabilities (if number and quality of eyeballs were the same)

permalink
report
parent
reply
3 points

Also only really applies if you are comparing programs in the same programming language as some programs have lines that are significantly more expressive than others. Conversely, some languages have constructs that are significantly more bug-prone than others (e.g. for loops with explicit integer indices instead of higher order functions like map or iterators to iterate over a collection).

permalink
report
parent
reply
2 points

No, but it’s cleaner and designed for my usecase, and no real work to setup for me, all I had to do was add an alias

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

Community stats

  • 8.3K

    Monthly active users

  • 6.3K

    Posts

  • 173K

    Comments