Browse Source

Update raspap.sudoers

the command launched here: 4299d4d7cc/includes/openvpn.php (L153)
is actually /bin/ln I've had to manually fix it on raspberry pi bullseye
pull/1111/head
SmartMarmot - Andrea Dalle Vacche 10 months ago
committed by GitHub
parent
commit
8d4a7f72e8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      installers/raspap.sudoers

1
installers/raspap.sudoers

@ -22,6 +22,7 @@ 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/mv /tmp/ovpn/* /etc/openvpn/client/*.conf
www-data ALL=(ALL) NOPASSWD:/usr/bin/ln -s /etc/openvpn/client/*.conf /etc/openvpn/client/*.conf
www-data ALL=(ALL) NOPASSWD:/bin/ln -s /etc/openvpn/client/*.conf /etc/openvpn/client/*.conf
www-data ALL=(ALL) NOPASSWD:/bin/rm /etc/openvpn/client/*.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

Loading…
Cancel
Save