No description
Find a file
2022-11-09 16:48:36 -05:00
deployments/aur move secure files to secure handler 2022-11-09 16:48:36 -05:00
src move secure files to secure handler 2022-11-09 16:48:36 -05:00
.gitignore move persist data to /var/run/crab 2022-11-09 15:47:04 -05:00
Cargo.lock move secure files to secure handler 2022-11-09 16:48:36 -05:00
Cargo.toml move secure files to secure handler 2022-11-09 16:48:36 -05:00
conf initial commit 2022-11-08 19:35:01 -05:00
install.sh fix session pid, add uninstall sh file 2022-11-09 00:51:47 -05:00
pam initial commit 2022-11-08 19:35:01 -05:00
readme.md update readme 2022-11-09 11:46:26 -05:00
uninstall.sh update readme 2022-11-09 11:46:26 -05:00

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 build --release to compile the binary. Then run install.sh as root to install crab.

Run uninstall.sh as root to uninstall crab.

Arch Based Systems

If you are on an arch based distro, 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.