Software you should know about of the day: doas

It's an alternative to sudo. It's available in Alpine Linux main.

"But what's wrong with sudo?", you ask. To that, I answer: man sudoers and grep for "despair". Compare with man doas.conf.


@sir for those who might want to try it out - it exists in the official arch community repo as the package called `opendoas` (not to be confused with `doas` in AUR)

since two people have starred this toot, i feel obliged to clarify why you should use opendoas instead of doas from AUR (something i should really have done in the original toot), the reason is that doas is not as feature rich as the package from the official repo, e.g. it doesn't have the persist config flag, meaning you have to enter your root password everytime you use it, and also you have to do `doas -- pacman -S opendoas` (notice the two dashes after doas) because doas cannot into argument

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!