From 3ed105558a65c392b80a2eac1b4e0c28f505c391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuli=20Sepp=C3=A4nen?= Date: Wed, 6 Apr 2022 13:11:04 +0300 Subject: [PATCH] Describe limitations of auth-user-pass more clearly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit URL: https://community.openvpn.net/openvpn/ticket/757 Signed-off-by: Samuli Seppänen --- doc/man-sections/client-options.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/man-sections/client-options.rst b/doc/man-sections/client-options.rst index 8e0e4f18a23..89a83e298f6 100644 --- a/doc/man-sections/client-options.rst +++ b/doc/man-sections/client-options.rst @@ -68,7 +68,13 @@ configuration. auth-user-pass up If ``up`` is present, it must be a file containing username/password on 2 - lines. If the password line is missing, OpenVPN will prompt for one. + lines. If the password line is missing, OpenVPN will prompt for one on + stdin. + + *NOTE*: If you use a graphical OpenVPN client such as OpenVPN GUI on Windows, + you should either define both the username and password in the file, or rely + on the GUI caching the credentials; defining just the username in the file + will not work. If ``up`` is omitted, username/password will be prompted from the console.