back
Doas and Sudo
On most Linux systems, sudo is a pre-installed program. Sudo is a very large program and for what most people use it for, it doesn’t have to be so complex. It being such a large program means vulnerabilities come up more often. For a program almost all Linux systems have, its CVE reports don’t look very good. If you want to run a program as root from a normal user account, use doas. It is much less bloated and does a lot of what sudo does. If you are used to typing in sudo, just set an alias.
nano $HOME/.bashrc
alias sudo="doas"
source $HOME/.bashrc