116
submitted 4 months ago by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] PoorPocketsMcNewHold@lemmy.ml 3 points 4 months ago

Speaking of doas, is there any advantage of using it when… sudo is still available to be used? I agree that most of the stuff we require to use doesn't need all the options sudo as, but if it is for the sake of security, maintenance, and stability… is there any reason to use doas ON TOP of the already setup sudo or su? In the past, I even tried to just apply a simple alias to replace sudo with doas, but numerous scripts and programs when trying to request explicit super-user permissions, just didn't know what to do with doas as expected, so this ain't it.

[-] Samueru@lemmy.ml 3 points 4 months ago* (last edited 4 months ago)

Speaking of doas, is there any advantage of using it when… sudo is still available to be used?

I like that its configuration file is very very simple.

[-] PoorPocketsMcNewHold@lemmy.ml 1 points 4 months ago

When was the last time you had to edit sudo configuration file ? Same goes for doas. It's has nothing going for, for the majority of desktop Linux users (from what I got as an answer)

[-] Samueru@lemmy.ml 1 points 4 months ago

A month ago or so to be able to use zramen without root password.

[-] Titou@sh.itjust.works 3 points 4 months ago

I agree that most of the stuff we require to use doesn't need all the options sudo as

Main reason of using doas

but numerous scripts and programs when trying to request explicit super-user permissions, just didn't know what to do with doas as expected

I've only found one software like that and it's tipi, and it's kinda dumb for a software to require such a easily replacable software. Also how openbsd users are supposed to do ? Having both doas and sudo on their machine which is unnecessary bloat ?

[-] PoorPocketsMcNewHold@lemmy.ml 1 points 4 months ago

Sure do confirm that hard-coded sudo requirements are kinda dumb. But this proove systemd point. BSD mainly use doas. Linux mainly use sudo. Why not have an universal method for true cross-platform compatibility ? (Yes, I know plenty prefer or explicitly are against the usage of systemd suite of software, was pointing out systemd main reason of planning to propose an another standard, regardless if it will be popular or not)

this post was submitted on 03 Jul 2024
116 points (91.4% liked)

Linux

48334 readers
608 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS