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.