Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
raspap-webgui/installers/raspap.sudoers
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
44 lines (43 sloc)
2.92 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| www-data ALL=(ALL) NOPASSWD:/sbin/ifdown | |
| www-data ALL=(ALL) NOPASSWD:/sbin/ifup | |
| www-data ALL=(ALL) NOPASSWD:/bin/cat /etc/wpa_supplicant/wpa_supplicant.conf | |
| www-data ALL=(ALL) NOPASSWD:/bin/cat /etc/wpa_supplicant/wpa_supplicant-wlan[0-9].conf | |
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant.conf | |
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan[0-9].conf | |
| www-data ALL=(ALL) NOPASSWD:/sbin/wpa_supplicant -B -Dnl80211 -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan[0-9] | |
| www-data ALL=(ALL) NOPASSWD:/bin/rm /var/run/wpa_supplicant/wlan[0-9] | |
| www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i wlan[0-9] scan_results | |
| www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i wlan[0-9] scan | |
| www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i wlan[0-9] reconfigure | |
| www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i wlan[0-9] select_network [0-9]* | |
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl start hostapd.service | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl stop hostapd.service | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl start dnsmasq.service | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl stop dnsmasq.service | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl restart dnsmasq.service | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl start openvpn-client@client | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl enable openvpn-client@client | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl stop openvpn-client@client | |
| www-data ALL=(ALL) NOPASSWD:/bin/systemctl disable openvpn-client@client | |
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/ovpnclient.ovpn /etc/openvpn/client/client.conf | |
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/authdata /etc/openvpn/client/login.conf | |
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.d/090_*.conf | |
| www-data ALL=(ALL) NOPASSWD:/bin/rm /etc/dnsmasq.d/090_*.conf | |
| www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dhcpddata /etc/dhcpcd.conf | |
| www-data ALL=(ALL) NOPASSWD:/sbin/shutdown -h now | |
| www-data ALL=(ALL) NOPASSWD:/sbin/reboot | |
| www-data ALL=(ALL) NOPASSWD:/sbin/ip link set wlan[0-9] down | |
| www-data ALL=(ALL) NOPASSWD:/sbin/ip link set wlan[0-9] up | |
| www-data ALL=(ALL) NOPASSWD:/sbin/ip -s a f label wlan[0-9] | |
| www-data ALL=(ALL) NOPASSWD:/bin/cp /etc/raspap/networking/dhcpcd.conf /etc/dhcpcd.conf | |
| www-data ALL=(ALL) NOPASSWD:/etc/raspap/hostapd/enablelog.sh | |
| www-data ALL=(ALL) NOPASSWD:/etc/raspap/hostapd/disablelog.sh | |
| www-data ALL=(ALL) NOPASSWD:/etc/raspap/hostapd/servicestart.sh | |
| www-data ALL=(ALL) NOPASSWD:/etc/raspap/lighttpd/configport.sh | |
| 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/dnsmasq_custom /etc/raspap/adblock/custom.txt | |
| www-data ALL=(ALL) NOPASSWD:/etc/raspap/adblock/update_blocklist.sh | |