crab/readme.md

20 lines
666 B
Markdown
Raw Normal View History

2022-11-09 00:44:31 +00:00
# **Crab**
2022-11-09 05:51:47 +00:00
`Crab`, a.k.a `Cool Rust Authentication Binary` is a rusty replacement for sudo or doas on Linux systems.
2022-11-09 00:44:31 +00:00
# Installation
2022-11-09 03:07:02 +00:00
### From Source
First run `cargo install --release` to compile the binary.
2022-11-09 05:51:47 +00:00
Then run `install.sh` as root to install crab.
2022-11-09 03:07:02 +00:00
### Arch Based Systems
2022-11-09 05:51:47 +00:00
If you are on arch-linux, crab is avaliable on the AUR as `crab`.
2022-11-09 00:44:31 +00:00
# Configuration
2022-11-09 05:51:47 +00:00
Crab supports multiple users with persistence. Each line of the config is the username, then `true` of `false` if the crab authentication persists.
2022-11-09 00:44:31 +00:00
For Example
```
root true
tylerm false
```
2022-11-09 03:07:02 +00:00
The default configuration file is stored in `/usr/share/crab/crab.conf` and must be coppied to `/etc/crab.conf`.