Skip to content

Option to NOT save PPTP VPN Password (Ubuntu 11.10)

If you are running Ubuntu 11.10 and are using Network Manager to connect to a PPTP VPN, you may notice that once you enter a password, it is auto-saved for future use. Mysteriously, there isn’t a check box to NOT save the password. If you are connecting to the VPN with a 2-factor authentication system (such as OATH which generates a unique pin-code with each login), you have to manually re-edit the configuration file each time. That’s a huge pain.

Anyway, here is the quick fix. Simply open the VPN configuration script:

nano -w /etc/NetworkManager/system-connections/[your_vpn_name]

and change “password-flags=0” to “password-flags=2”.

That’s it! I googled for several days (literally) until I found this bug report covering the issue. Either I’m a bad Googler (fact), or lots of information isn’t readily available on this topic. I hope this helps someone in need.

Categories: Linux.

Tags: , , , , ,