I currently have openvpn working on my linux machine and am using a credentials file to authenticate via --auth-user-pass
What I would like to be able to do is have my username remembered, but have to enter my password everytime - is that possible?
Script username but not password
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Sep 06, 2011 6:50 pm
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Script username but not password
nope, currently this cannot be done, but it'd be a really small change to the openvpn source code : you could either pull in the username via an environment variable or you could add an extra option to specify the auth_user_pass username.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Sep 06, 2011 6:50 pm
Re: Script username but not password
Thanks for the reply. In that case it's probably easiest to just try and do it in a shell script.