An opinionated reimplentation of sudo

I really don't like scripts that call `sudo` to make a helpful mutation of my global system state.

I rewrote my sudo to

which succeeds by default or fails if NO_SUDO_FOR_YOU is set in the environment.

These scripts mostly fail on NixOS, or they do something simple that I would rather rewrite as a script myself. When I do need to use the "super user" account, I use `doas` from OpenBSD.

https://git.sr.ht/~ehmry/NO_SUDO_FOR_YOU

NO SOUP FOR YOU

Proxied content from gemini://gemini.spam.works/users/emery/no_sudo_for_you.gmi

Gemini request details:

Original URL
gemini://gemini.spam.works/users/emery/no_sudo_for_you.gmi
Status code
Success
Meta
text/gemini
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.