Fix sudo lines for 'service'

This commit is contained in:
Joe Haig 2016-10-23 18:31:45 +01:00
parent c5cb30f9e7
commit d089dbfe43
1 changed files with 4 additions and 4 deletions

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 reconfigure
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:service hostapd stop
www-data ALL=(ALL) NOPASSWD:service dnsmasq start
www-data ALL=(ALL) NOPASSWD:service dnsmasq stop
www-data ALL=(ALL) NOPASSWD:/usr/sbin/service hostapd start
www-data ALL=(ALL) NOPASSWD:/usr/sbin/service hostapd stop
www-data ALL=(ALL) NOPASSWD:/usr/sbin/service dnsmasq start
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:/sbin/shutdown -h now
www-data ALL=(ALL) NOPASSWD:/sbin/reboot