this post was submitted on 01 Jul 2023
29 points (100.0% liked)

linuxmasterrace

55 readers
1 users here now

A community for Linux enthusiasts.

May your htop stats be low and your beard grow long

Welcome to !linuxmasterrace@feddit.de former r/linuxmasterrace members and existing Lemmyverse citizens: Feel free to join the newly created !linuxmasterrace@feddit.de community.

Let’s make the full transition to the decentralized Fediverse!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] knowncarbage@lemmy.fmhy.ml 8 points 1 year ago

sudo is complex with a lot of code and options.

doas is small, simple & secure from OpenBSD.

If all you want is root priv without remembering two passwords on your box, doas is fine. If you want a complex system of admins and users with fine grained permission control sudo may be a better option.

I use ' su -' much of the time and just use a root shell.

Actively replacing sudo with doas on an OS that includes sudo in the base system seems pointless imo.