2020-03-20 09:53:59 +00:00
|
|
|
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
|
2023-12-04 09:00:02 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/cat /etc/wpa_supplicant/wpa_supplicant-[a-zA-Z0-9]*.conf
|
2020-03-20 09:53:59 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant.conf
|
2023-12-01 18:02:01 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wl*.conf
|
2023-12-04 09:00:02 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_supplicant -B -Dnl80211 -c/etc/wpa_supplicant/wpa_supplicant.conf -i[a-zA-Z0-9]*
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/rm /var/run/wpa_supplicant/[a-zA-Z0-9]*
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i [a-zA-Z0-9]* scan_results
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i [a-zA-Z0-9]* scan
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i [a-zA-Z0-9]* reconfigure
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i [a-zA-Z0-9]* add_network
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i [a-zA-Z0-9]* list_networks
|
2023-12-02 14:00:34 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i enable_network [0-9]
|
2023-12-02 17:28:15 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i disconnect [0-9]
|
2023-12-04 09:00:02 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i [a-zA-Z0-9]* select_network [0-9]
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i [a-zA-Z0-9]* set_network [0-9] *
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli -i [a-zA-Z0-9]* remove_network [0-9]
|
2020-03-20 09:53:59 +00:00
|
|
|
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
|
2020-03-31 00:09:51 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/systemctl restart dnsmasq.service
|
2020-03-20 09:53:59 +00:00
|
|
|
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
|
2024-02-19 17:57:02 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/systemctl start restapi.service
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/systemctl stop restapi.service
|
2021-07-04 09:46:00 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/mv /tmp/ovpn/* /etc/openvpn/client/*.conf
|
2021-06-06 19:53:21 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/usr/bin/ln -s /etc/openvpn/client/*.conf /etc/openvpn/client/*.conf
|
2021-02-07 11:56:18 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/rm /etc/openvpn/client/*.conf
|
2020-11-15 10:55:01 +00:00
|
|
|
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
|
2020-03-20 09:53:59 +00:00
|
|
|
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
|
2023-12-01 18:02:01 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/ip link set wl* down
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/ip link set wl* up
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/ip -s a f label wl*
|
2021-03-12 11:20:34 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/ifup *
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/ifdown *
|
2021-04-20 14:19:00 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/sbin/iw
|
2020-03-20 09:53:59 +00:00
|
|
|
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
|
2021-02-09 21:57:15 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/etc/raspap/openvpn/openvpnlog.sh
|
2023-11-01 07:46:36 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/etc/raspap/system/debuglog.sh
|
2023-11-24 07:49:52 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/etc/raspap/system/raspbian.sh
|
2020-03-20 09:53:59 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /tmp/hostapd.log
|
2022-01-05 11:30:09 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /var/log/dnsmasq.log
|
2020-09-05 18:27:38 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/chmod o+r /tmp/wireguard.log
|
2020-03-31 00:09:51 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dnsmasqdata /etc/dnsmasq.d/090_adblock.conf
|
2020-09-19 21:24:58 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dnsmasq_custom /etc/raspap/adblock/custom.txt
|
2021-03-02 14:17:13 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/wgdata /etc/wireguard/*.conf
|
2021-02-24 08:48:56 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/mv /tmp/wg-*.key /etc/wireguard/wg-*.key
|
2021-07-07 21:59:51 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/mv /tmp/wg/* /etc/wireguard/*.conf
|
2020-03-31 00:09:51 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/etc/raspap/adblock/update_blocklist.sh
|
2021-03-07 17:36:48 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/usr/bin/socat - /dev/ttyUSB[0-9]
|
2021-03-12 11:20:34 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/usr/local/sbin/onoff_huawei_hilink.sh *
|
2021-03-07 17:36:48 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/sed -i * /etc/wvdial.conf
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/sed -i * /etc/udev/rules.d/80-raspap-net-devices.rules
|
|
|
|
www-data ALL=(ALL) NOPASSWD:/usr/bin/tee -a /etc/udev/rules.d/80-raspap-net-devices.rules
|
2021-12-31 13:10:27 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/usr/bin/journalctl --identifier wg-quick
|
2021-03-07 13:22:26 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/systemctl * wg-quick@wg0
|
2020-04-22 09:00:34 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/usr/bin/wg
|
2021-03-02 23:15:47 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/cat /etc/wireguard/*.conf
|
2021-03-04 23:07:04 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/cat /etc/wireguard/wg-*.key
|
2021-03-09 15:35:48 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/rm /etc/wireguard/*.conf
|
2021-03-29 18:30:26 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/rm /etc/wireguard/wg-*.key
|
2022-06-08 16:47:00 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/usr/sbin/netplan
|
2022-09-27 09:46:59 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/bin/truncate -s 0 /tmp/*.log,/bin/truncate -s 0 /var/log/dnsmasq.log
|
2023-10-23 09:31:01 +00:00
|
|
|
www-data ALL=(ALL) NOPASSWD:/usr/bin/vnstat *
|