362
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 03 Jan 2025
362 points (97.9% liked)
Linux
48905 readers
1033 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
- 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
founded 5 years ago
MODERATORS
Lightweight sudo alternatives, hard to google too. I know ssu and rdo, please mention others.
OpenDoas, or simply doas, as in do [command] as [user]
Thanks, couldn't get it ever to work tho, and it doesn't come with a default config in Arch.
Because it's so simple, a good default config can be a one-liner. For similar functionality to default sudo:
Allows members of
wheel
to run commands as any user (if you just rundoas <cmd>
it will default to root), and "persists" for 5 minutes, ie if you run doas then for the next 5 minutes in the same session you won't have to enter your password to run doas again, similar to default sudo settings.https://wiki.archlinux.org/title/Doas
What problems were you having where you couldn't get it to work?
Always got permission denied, no matter what in the config. But thanks, i'll try again.
Why should I use a sudo alternative?
Because sudo is best suited for server administration, way overengineered (with the occasional critical vulnerability) for desktop use.
Alternatives can fit the required functionality for desktop use in 150 loc C code while sudo has what, something over 100'000 loc?