An open API service indexing awesome lists of open source software.

https://github.com/ubermanu/sudoas

A wrapper for doas that fakes sudo
https://github.com/ubermanu/sudoas

bash doas sudo wrapper

Last synced: 4 months ago
JSON representation

A wrapper for doas that fakes sudo

Awesome Lists containing this project

README

          

# 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

```bash:
curl -sSL https://ubermanu.github.io/sudoas/install.sh | sh
```

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

## Usage

```bash
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`