update readme and default conf

This commit is contained in:
tylermurphy534 2022-12-01 15:49:27 -05:00
parent ce6af95b74
commit 364ee7fc78
2 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,4 @@
deny :docker permit persist john
permit nopass persist linus as root deny nvidia
#deny stallman permit :docker
permit :wheel persist permit persist nopass :wheel
permit nvidia as fu

View file

@ -8,11 +8,13 @@ To be able to build the package, you need cargo wich you can get either though r
To build, run the following commands below in the root directory of the repo. Make sure to run the shell script as root. To build, run the following commands below in the root directory of the repo. Make sure to run the shell script as root.
```bash ```bash
cargo build --release cargo build --release
chmod +x /deployments/source/install.sh
./deployments/source/install.sh ./deployments/source/install.sh
``` ```
To uninstall, just run the following script as root. To uninstall, just run the following script as root.
```bash ```bash
chmod +x ./deployments/source/uninstall.sh
./deployments/source/uninstall.sh ./deployments/source/uninstall.sh
``` ```
@ -40,10 +42,9 @@ a user name to run the process as. All lines starting in a # will be ignored.
For Example For Example
``` ```
deny :docker permit persist john
permit nopass persist linus as root deny nvidia
#deny stallman permit :docker
permit :wheel persist permit persist nopass :wheel
permit nvidia as fu
``` ```
Please make sure when editing your config that not normal users can edit the file, but only root. If normal users can edit the config, they can add themselvs as permitted and get elevated privilages. Please make sure when editing your config that not normal users can edit the file, but only root. If normal users can edit the config, they can add themselvs as permitted and get elevated privilages.