Swap
> Updated README
This commit is contained in:
1 parent
715940f9e8
commit
b0a4c5dda2
1 file changed
+6
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user