From 8d4a7f72e84c1bfea81f2805511735d0ba3c2c56 Mon Sep 17 00:00:00 2001 From: SmartMarmot - Andrea Dalle Vacche Date: Thu, 27 Jan 2022 11:31:18 +0100 Subject: [PATCH] Update raspap.sudoers the command launched here: https://github.com/smartmarmot/raspap-webgui/blob/4299d4d7ccfe1da42d7505a47ffa03ad542ddbc4/includes/openvpn.php#L153 is actually /bin/ln I've had to manually fix it on raspberry pi bullseye --- installers/raspap.sudoers | 1 + 1 file changed, 1 insertion(+) diff --git a/installers/raspap.sudoers b/installers/raspap.sudoers index 945aa0c8..c2c97dca 100644 --- a/installers/raspap.sudoers +++ b/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