OpenVPN WebUI Login Issue
- by Vince
-
in Blog
-
Hits: 3166
We have several clients using OpenVPN in one form or another but I was playing around with the OpenVPN appliance available for download here:
https://openvpn.net/index.php/access-server/download-openvpn-as-vm.html
As a side note -- they warn you against using VMWare Player. While I didn't use Player, I was testing it out in VMWare Workstation 11 and it works perfectly.
The installation was straightforward and fast but when I attempted to login, my credentials didn't work. As they suggested, I changed the local root account password but neither the default password or my new password would let me login. After a quick search, I discovered the following command which will start the initialization process from scratch:
/usr/local/openvpn_as/bin/ovpn-init --force
That also failed. But I thought perhaps I wasn't paying attention the first time around and it was worth a shot. At that point, I realized, this is just an account, the default is 'openvpn'. Using the following command, I reset the account and I was admin to login through the web UI:
passwd openvpn
Running the above, as most anyone with a Unix background would know, will allow you to change the password for the account.