Fix sudo lines for 'service'

pull/4/head
Joe Haig 8 years ago
parent c5cb30f9e7
commit d089dbfe43

@ -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

Loading…
Cancel
Save