Swap
> Updated README
This commit is contained in:
parent
715940f9e8
commit
b0a4c5dda2
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user