> Updated README
This commit is contained in:
Eugene Amos 2023-12-13 15:57:29 -08:00
parent 715940f9e8
commit b0a4c5dda2

View File

@ -30,6 +30,12 @@ Here is how you do it:
#
ALL ALL =(ALL) NOPASSWD: /home/[USERNAME]/scripts/swap.sh
ALL ALL =(ALL) NOPASSWD: /home/[USERNAME]/Desktop/swap.sh
@includedir /etc/sudoers.d
[USERNAME] ALL=(ALL) NOPASSWD: /bin/systemctl restart *
[USERNAME] ALL=(ALL) NOPASSWD: /sbin/swapoff
[USERNAME] ALL=(ALL) NOPASSWD: /sbin/swapon
```
3. Exit and Save file.