diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-10-15 08:20:21 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-10-15 08:20:21 +0000 |
commit | 51f7b8487b67dd5fbca3794b76919df878c03fb6 (patch) | |
tree | 9ec24dddc2711bd69e1c2cc5dd2fda2ae5f02055 /init.c | |
parent | Added AC_GNU_SOURCE to configure.ac to enable struct ucred, (diff) | |
download | openvpn-51f7b8487b67dd5fbca3794b76919df878c03fb6.tar.xz |
Added additional warning messages about --script-security 2
or higher being required to execute user-defined scripts or
executables.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3436 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1999,8 +1999,10 @@ do_option_warnings (struct context *c) if (script_security >= SSEC_SCRIPTS) msg (M_WARN, "NOTE: the current --script-security setting may allow this configuration to call user-defined scripts"); - if (script_security >= SSEC_PW_ENV) + else if (script_security >= SSEC_PW_ENV) msg (M_WARN, "WARNING: the current --script-security setting may allow passwords to be passed to scripts via environmental variables"); + else + msg (M_WARN, "NOTE: " PACKAGE_NAME " 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables"); } static void |