Skip to content

A wrapper for doas that fakes sudo

License

Notifications You must be signed in to change notification settings

ubermanu/sudoas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sudoas

A wrapper for doas that allows you to use sudo arguments.

If an option is not supported by doas, it will be ignored.

Install

curl https://ubermanu.github.io/sudoas/install.sh | sh

This will install the script into your .local/bin/sudo directory.

Usage

sudo [options] command

Options

Here is a list of the supported options:

-h, --help

Print a help message.

-V, --version

Print the version number.

-n, --non-interactive

Do not prompt for a password.

This option is forwarded to doas as -n

-u, --user

Specify the user to run the command as.

This option is forwarded to doas as -u

-s, --shell

Specify the shell to use.

This option is forwarded to doas as -s