> Start openvpn with the following command
> openvpn --config /etc/openvpn/server.conf --script-security 2
You need --script-security 3 to allow password to be passed through the
environment.
This is documented in the openvpn man page:
0 -- Strictly no calling of external programs.
1 -- (Default) Only call built-in executables such as ifconfig,
ip, route, or netsh.
2 -- Allow calling of built-in executables and user-defined
scripts.
3 -- Allow passwords to be passed to scripts via environmental
variables (potentially unsafe).
PS. I've confirmed that it works when set to 3.
--
Regards,
Andreas Henriksson
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]