mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Add cp /tmp/wgdata to sudoers
This commit is contained in:
		| @@ -36,6 +36,7 @@ www-data ALL=(ALL) NOPASSWD:/etc/raspap/openvpn/configauth.sh | ||||
| www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /tmp/hostapd.log | ||||
| www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /tmp/dnsmasq.log | ||||
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.d/090_adblock.conf | ||||
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/wgdata /etc/wireguard/wg0.conf | ||||
| www-data ALL=(ALL) NOPASSWD:/etc/raspap/adblock/update_blocklist.sh | ||||
| www-data ALL=(ALL) NOPASSWD:/usr/bin/wg-quick up wg0 | ||||
| www-data ALL=(ALL) NOPASSWD:/usr/bin/wg-quick down wg0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user