update readme and default conf
This commit is contained in:
parent
ce6af95b74
commit
364ee7fc78
2 changed files with 10 additions and 10 deletions
|
@ -1,5 +1,4 @@
|
|||
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
|
||||
|
|
11
readme.md
11
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.
|
||||
|
|
Loading…
Reference in a new issue