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:
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 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
|
||||||
|
Loading…
Reference in New Issue
Block a user