#Doas

R.L. Dane :Debian: :OpenBSD: :FreeBSD: 🍡 :MiraLovesYou:rl_dane@polymaths.social
2025-11-26
Winnie-the-Pooh good-better-blurst meme:

Good: sudo
Better: doas
Blurs't: ssh root@...

Reduced to 8 colors to save space (#LossyPNG)
2025-11-22

@rl_dane

My rule is just permit keepenv, with no persist. It's #NetBSD rather than #FreeBSD so doas.conf is in /usr/pkg/etc/, and it definitely retains the environment.

persist does not work on other than #OpenBSD, as far as I am aware. Try it without persist to see whether that's the problem.

#doas

2025-11-21

@rl_dane

Have you run

doas printenv MANPATH

?

You are about to learn the joy of doas.conf, I predict.

#doas #FreeBSD #mandoc

andie :oh_no_bubble:bugwhisperer@blahaj.zone
2025-11-16

Anyone else suddenly find themselves deep into searching for dosa recipies online, triggered by mistyping doas at the command prompt and then thinking "I love dosa! I wonder how to make it,"?
No?
​:blobcat_smilignopenmouthsweating:​
#adhd #dosa #doas

R.L. Dane :Debian: :OpenBSD: :FreeBSD: 🍡 :MiraLovesYou:rl_dane@polymaths.social
2025-11-16

@pitrh @SamuraiSakura @inlovewithpda

Great write-up!

Agreed, the install process on #OpenBSD is really quite painless, especially since they added #FDE setup to the installer.

The fact that it isn't a #TUI is really minor.

Also, #doas is BAE. I install it everywhere else, including all my Linux boxen. 😁

Moving Head MinistriesbrazeL@norden.social
2025-11-16
Hugo ι›¨ζžœwhynothugo@fosstodon.org
2025-11-14

Rewriting #sudo into #rust was a bad idea. The main issue with sudo is its massive complexity and enormous amount for features and settings for a program that’s SUID. A memory safe language doesn’t magically fix this.

If you really want to bring memory safety into this space, then rewrite #doas into Rust.

@le_friwi_56 i prefer to use #doas as an alternative to sudo more lighter just one file config /etc/doas.conf

2025-10-28

#doas doesn't seem to support #U2F on #NixOS it's weird and should work but doesn't as /etc/pam.d/doas doesn't contain pam_u2f.so and /etc/pam.d/sudo does contain it..

FYI: I have added "security.pam.services.sudo.u2fAuth = true;" to config and as I see there is no same option for doas and I also tried other hacky ways with no hope.

2025-07-16

root elevation via doas + fprintd on Thinkpad and FreeBSD

#doas #fingerprint #freebsd

doas root elevation with fingerprint prompt
Eugene account has movedevgandr@mas.to
2025-07-05

@NebulaTide @kaixin @rubenerd Didn't know about opendoas, installed it and it really caches my password, cool!

The #eshell can also work with #doas like with #sudo :dragnhappy:

Eshell with launched `doas ls' command. The password is asked in the minibuffer, not in the eshell. The prompt is "doas Password:".
Ruben Schade :runbsd: πŸ”° πŸ‡¦πŸ‡Ίrubenerd@bsd.network
2025-07-05

It's time!

Thank you once again to the OpenBSD people for their excellent tooling.

#freebsd #doas #sudo

Console output from one of our homelab servers, where I'm uninstalling sudo and installing doas.

pkg remove sudo
pkg install doas

Yay!
Jason Tubnor πŸ‡¦πŸ‡ΊTubsta@soc.feditime.com
2025-07-04
@jimsalter I highly suggest taking some time out to discover doas(1) https://man.openbsd.org/doas . It arrived in the #OpenBSD 5.8 release back in October 2015 and is well battle tested. Doesn't have all the features of #sudo but 99% of sudo users basically don't use them anyway. #doas #25admins
2025-07-02
2025-07-02

@besendorf Also my first thought whenever I read #sudo vulns. Though I wonder if #doas was more widely used that there would be more vulnerabilities detected.

Janik Besendorf DECT: 8161besendorf@chaos.social
2025-07-01

2 #sudo local privilege escalation vulnerabilities in sudo yesterday. What a good day to switch to #doas

2025-06-03

Ready for the final conference of the DIAMAS project !

#DOAS #openaccess #diamas

Screen of the Diamas conference welcoming
Linux Renaissancedarth@video.fosshq.org
2025-05-09

Ubuntu Is Replacing SUDO. Should You?

video.fosshq.org/w/vWR6jtwo9S2

Nikita Karamovkytta@fosstodon.org
2025-04-26

TIL that switching from #sudo to #doas in #Debian seems to be as easy as

apt install doas
$EDITOR /etc/doas.conf
apt uninstall sudo

I'll be trying it out on some servers of mine πŸ‘€

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst