A wrapper for doas that allows you to use sudo arguments.
If an option is not supported by doas, it will be ignored.
curl https://ubermanu.github.io/sudoas/install.sh | sh
This will install the script into your
.local/bin/sudo
directory.
sudo [options] command
Here is a list of the supported options:
Print a help message.
Print the version number.
Do not prompt for a password.
This option is forwarded to doas as
-n
Specify the user to run the command as.
This option is forwarded to doas as
-u
Specify the shell to use.
This option is forwarded to doas as
-s