replace-sudo-with-doas


Overview
This script replaces the #bloated #sudo #package with the simpler, more lightweight #doas. It automates the process of removing sudo, installing doas, configuring it for #persistent use, and #symlinking doas to /usr/bin/sudo for compatibility.

Currently supports #Debian, #Arch, #Alpine, #FreeBSD, #OpenBSD, #NetBSD and #Void Linux.

Why
sudo has grown over time into a large and complex utility. For users who prefer simplicity, minimalism, and better auditability, doas (originally from OpenBSD) is a lean and secure alternative. It does just one thing — lets #authorized users run #commands as #root — and it does it very well.

github.com/Kinderfeld/replace-…