20 lines
No EOL
666 B
Markdown
20 lines
No EOL
666 B
Markdown
# **Crab**
|
|
`Crab`, a.k.a `Cool Rust Authentication Binary` is a rusty replacement for sudo or doas on Linux systems.
|
|
|
|
# Installation
|
|
### From Source
|
|
First run `cargo install --release` to compile the binary.
|
|
Then run `install.sh` as root to install crab.
|
|
|
|
### Arch Based Systems
|
|
If you are on arch-linux, crab is avaliable on the AUR as `crab`.
|
|
|
|
# Configuration
|
|
Crab supports multiple users with persistence. Each line of the config is the username, then `true` of `false` if the crab authentication persists.
|
|
|
|
For Example
|
|
```
|
|
root true
|
|
tylerm false
|
|
```
|
|
The default configuration file is stored in `/usr/share/crab/crab.conf` and must be coppied to `/etc/crab.conf`. |