aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichal Ludvig2015-10-11 10:44:20 +0200
committerGert Doering2015-11-23 21:23:17 +0100
commit76b82f0e9d272a703624b102bd2e2b38d9947afb (patch)
tree7502534b36cc862b126d99dbaec035e06b300f31 /doc
parent983f01861c31b3d768ec9b119cd26f8d1f2f7a73 (diff)
downloadopenvpn-76b82f0e9d272a703624b102bd2e2b38d9947afb.zip
openvpn-76b82f0e9d272a703624b102bd2e2b38d9947afb.tar.gz
Support for username-only auth file.
Make OpenVPN read the username from the auth file parameter of --auth-user-pass and prompt for a password if it's not in the file. Rationale: Prior to this change OpenVPN either required both username and password present in the auth file or prompted for both on the console. Unlike passwords usernames usually don't change and can therefore be "hardcoded" in the config. Signed-off-by: Michal Ludvig <mludvig@logix.net.nz> Reviewed and updated to current master. Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1444553060-15946-1-git-send-email-dejong@fox-it.com> URL: http://article.gmane.org/gmane.network.openvpn.devel/10255 (cherry picked from commit 6e9373c84639382c16d9eb8f1f78f60079bb89df)
Diffstat (limited to 'doc')
-rw-r--r--doc/openvpn.83
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/openvpn.8 b/doc/openvpn.8
index 3306266..46c1e0c 100644
--- a/doc/openvpn.8
+++ b/doc/openvpn.8
@@ -3683,7 +3683,8 @@ over the client's routing table.
.B \-\-auth\-user\-pass [up]
Authenticate with server using username/password.
.B up
-is a file containing username/password on 2 lines (Note: OpenVPN
+is a file containing username/password on 2 lines. If the
+password line is missing, OpenVPN will prompt for one. (Note: OpenVPN
will only read passwords from a file if it has been built
with the \-\-enable\-password\-save configure option, or on Windows
by defining ENABLE_PASSWORD_SAVE in win/settings.in).