1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Fix sudo lines for 'service'

This commit is contained in:
Joe Haig 2016-10-23 18:31:45 +01:00
parent c5cb30f9e7
commit d089dbfe43

View File

@ -59,10 +59,10 @@ www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli scan_results
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli scan www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli scan
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli reconfigure www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli reconfigure
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf
www-data ALL=(ALL) NOPASSWD:service hostapd start www-data ALL=(ALL) NOPASSWD:/usr/sbin/service hostapd start
www-data ALL=(ALL) NOPASSWD:service hostapd stop www-data ALL=(ALL) NOPASSWD:/usr/sbin/service hostapd stop
www-data ALL=(ALL) NOPASSWD:service dnsmasq start www-data ALL=(ALL) NOPASSWD:/usr/sbin/service dnsmasq start
www-data ALL=(ALL) NOPASSWD:service dnsmasq stop www-data ALL=(ALL) NOPASSWD:/usr/sbin/service dnsmasq stop
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf
www-data ALL=(ALL) NOPASSWD:/sbin/shutdown -h now www-data ALL=(ALL) NOPASSWD:/sbin/shutdown -h now
www-data ALL=(ALL) NOPASSWD:/sbin/reboot www-data ALL=(ALL) NOPASSWD:/sbin/reboot