summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-12-01 15:49:27 -0500
committertylermurphy534 <tylermurphy534@gmail.com>2022-12-01 15:49:27 -0500
commit364ee7fc789696f04bf119e0dd51d6cf0e981c87 (patch)
tree71953e814f5f5c4faa451aa76545c9417b69b17d
parentMerge pull request '0.6.0' (#1) from dev into main (diff)
downloadcrab-364ee7fc789696f04bf119e0dd51d6cf0e981c87.tar.gz
crab-364ee7fc789696f04bf119e0dd51d6cf0e981c87.tar.bz2
crab-364ee7fc789696f04bf119e0dd51d6cf0e981c87.zip
update readme and default confHEADmain
-rw-r--r--config/default9
-rw-r--r--readme.md11
2 files changed, 10 insertions, 10 deletions
diff --git a/config/default b/config/default
index 8976cc6..1d9435f 100644
--- a/config/default
+++ b/config/default
@@ -1,5 +1,4 @@
-deny :docker
-permit nopass persist linus as root
-#deny stallman
-permit :wheel persist
-permit nvidia as fu \ No newline at end of file
+permit persist john
+deny nvidia
+permit :docker
+permit persist nopass :wheel
diff --git a/readme.md b/readme.md
index e191759..058751e 100644
--- a/readme.md
+++ b/readme.md
@@ -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.
```bash
cargo build --release
+chmod +x /deployments/source/install.sh
./deployments/source/install.sh
```
To uninstall, just run the following script as root.
```bash
+chmod +x ./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
```
-deny :docker
-permit nopass persist linus as root
-#deny stallman
-permit :wheel persist
-permit nvidia as fu
+permit persist john
+deny nvidia
+permit :docker
+permit persist nopass :wheel
```
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.