Page 1 of 1
Configure client to read user/pass from file?
Posted: Tue May 04, 2010 6:30 am
by angel.tsankov
Hello,
Is it possible to configure OpenVPN client on Linux to read user/pass from file rather than from standard input?
Regards,
Angel Tsankov
Re: Configure client to read user/pass from file?
Posted: Tue May 04, 2010 8:35 am
by krzee
from IRC,
[03:00] <vpnHelper> krzie: "pwfile" is (#1) 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 config-win32.h, or (#2) see --auth-user-pass in the manual (!man) for more info
[03:00] <krzie> assuming you use user/pass
[03:00] <krzie> which would be done via:
[03:00] <krzie> !authpass
[03:00] <vpnHelper> krzie: "authpass" is (#1) please see --auth-user-pass-verify in the manual to learn how to force clients to use passwords in addition to certs, or (#2) or to ONLY use passwords (no certs, highly NOT recommended) also use --client-cert-not-required, or (#3) and if you want the login name to be used as the common-name for things like ccd entries, use --username-as-common-name
Hope that helped,
-krzee
Re: Configure client to read user/pass from file?
Posted: Tue May 04, 2010 8:37 am
by angel.tsankov
@krzee:
Thanks again!