From c0f8085da8b79fc448bb6c1d7f1875228c42d5b0 Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Tue, 8 Nov 2022 22:07:02 -0500 Subject: aur support --- readme.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index b659123..470f1e5 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,12 @@ `Crab`, a.k.a `Cool Rust Authentication Binary` is a rusty replacement for sudo and doas on Linux systems # Installation -Run `build.sh` as the root user to build the rust binary, and install files. +### From Source +First run `cargo install --release` to compile the binary. +Then run `install.sh` as the root user to install files. + +### Arch Based Systems +If you are on arch-linux, the pakage is avaliable on the AUR as `crab-git`. # Configuration Crab supports multiple users and persistence. Each line of the config is the username, then `true` of `false` if the crab authentication persists, seperated by a space. @@ -12,4 +17,4 @@ For Example root true tylerm false ``` -The configuration file is stored in `/etc/crab.conf` \ No newline at end of file +The default configuration file is stored in `/usr/share/crab/crab.conf` and must be coppied to `/etc/crab.conf`. \ No newline at end of file -- cgit v1.2.3-freya