this post was submitted on 06 May 2025
68 points (98.6% liked)

Linux

54064 readers
735 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 6 years ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/29210689

Adopting sudo-rs By Default in Ubuntu 25.10

you are viewing a single comment's thread
view the rest of the comments
[–] kixik@lemmy.ml 5 points 4 days ago* (last edited 4 days ago) (1 children)

A way smaller alternative therefore less prompt to vulnerabilities is OpenDoas found on Arch/Artix/... and other distros. From the GH project:

doas is a minimal replacement for the venerable sudo. It was initially written by Ted Unangst of the OpenBSD project to provide 95% of the features of sudo with a fraction of the codebase.

[–] MTK@lemmy.world 1 points 3 days ago (1 children)

Tried it but it is not a 100% compatible as sudo replacment as it lacks some of the args. This means that some programs fail as they attempt to use incorrect args.

[–] kixik@lemmy.ml 1 points 2 days ago (1 children)

I'm curious about which programs if you can share. I write few bash scripts which used to call sudo, and I replace sudo with doas in those. And in case of muscular memory I also added a bash alias so that if by mistake calling sudo in reality I'd be calling doas. So far no issues. O course I don't use fancy args, and what I really needed from sudo I used to include it in /etc/sudoers and now on /etc/doas.conf, and I believe I couldn't include a couple of options but they were not critical since I've lived without them so far. And it's weird to find actual software that requires sudo, perhaps proprietary software. One can actually live without sudo and without doas, as long as there's still su.

Not judging, rather curious, actually I've met several guys who write scripts which would benefit from using sudo/doas, but they claim better call the scripts through sudo/doas rather than adding them as dependencies.

[–] MTK@lemmy.world 1 points 2 days ago

I don't remember what it was exactly, I encountered two times where doas failed as a sudo replacement. After that I went back to sudo