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
- Host: GitHub
- URL: https://github.com/ubermanu/sudoas
- Owner: ubermanu
- License: mit
- Created: 2023-03-26T13:46:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T18:32:45.000Z (over 1 year ago)
- Last Synced: 2025-09-13T14:15:56.174Z (9 months ago)
- Topics: bash, doas, sudo, wrapper
- Language: Shell
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`