101
submitted 7 months ago by whyisthesheep@thelemmy.club to c/linux@lemmy.ml

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 comment's thread
view the rest of the comments
[-] CsXGF8uzUAOh6fqV@lemmy.world 18 points 7 months ago

I use doas just because. It's not necessary at all, but it can't hurt either (I think). It might be a bit more secure (fewer features -> fewer code -> fewer bugs -> fewer vulnerabilities, need to give password more often). Kinda cool if you want more minimalism for fun (I replaced startx with sx...)

[-] gorysubparbagel@lemmy.world 2 points 7 months ago

You can change the config so you don't need to give the password every time.

Adding the persist option only requires it once every few minutes within a terminal session.

https://manpages.debian.org/bullseye/doas/doas.conf.5.en.html#persist

[-] billgamesh@lemmy.ml 1 points 7 months ago

Yeah. I like the config file being really easy to set up... permit persist user permit nopass user cmd poweroff permit otheruser cmd [whatever]

this post was submitted on 23 Mar 2024
101 points (95.5% liked)

Linux

48073 readers
744 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