Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 780 Bytes

README.md

File metadata and controls

49 lines (27 loc) · 780 Bytes

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