Page 1 of 1

login.conf correct syntax

Posted: Tue Mar 11, 2014 11:42 am
by neuronetv
I have a centos 6.5 server 64 bit running openvpn-2.3.2-2.el6.x86_64
I run openvpn as a client and I use auth-user-pass login.conf to log on automatically. In login.conf I have just:
<username>
<password>
and openvpn logs on and works fine however the log complains with:
Options error: Unrecognized option or missing parameter(s) in login.conf:1: <username> (2.3.2)
Use --help for more information.
I tried openvpn --help but I couldn't find anything that shows correct syntax for login.conf. So what is the correct syntax that openvpn is asking for?

Re: login.conf correct syntax

Posted: Thu Mar 20, 2014 8:17 pm
by neuronetv
debbie thankyou for this help. I changed login.conf to login.txt and this solved two problems, firstly the one in my op and secondly openvpn no longer shows 'FAILED' when logging on - even though the login was successful.