Swap
> Updated README
This commit is contained in:
		| @@ -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]/scripts/swap.sh | ||||||
|    ALL     ALL =(ALL) NOPASSWD: /home/[USERNAME]/Desktop/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.  | 3. Exit and Save file.  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user