Unable to connect to VPN as a non-admin user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvpn (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
The user I use on my desktop is a normal desktop user no extra rights. Now I want to connect to my VPN and when I do the network-manager app tells me that I am connected but I am not. When I run openvpn in a terminal I get...
me@BrandonsDesk
Mon Dec 26 12:24:44 2011 OpenVPN 2.2.0 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Jul 4 2011
Enter Auth Username:*
Enter Auth Password:
Mon Dec 26 12:24:59 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Dec 26 12:24:59 2011 RESOLVE: NOTE: * resolves to 2 addresses
Mon Dec 26 12:24:59 2011 Attempting to establish TCP connection with [AF_INET]* [nonblock]
Mon Dec 26 12:25:00 2011 TCP connection established with [AF_INET]*
Mon Dec 26 12:25:00 2011 TCPv4_CLIENT link local: [undef]
Mon Dec 26 12:25:00 2011 TCPv4_CLIENT link remote: [AF_INET]*
Mon Dec 26 12:25:00 2011 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon Dec 26 12:25:04 2011 [server] Peer Connection Initiated with [AF_INET]*
Mon Dec 26 12:25:07 2011 Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)
Mon Dec 26 12:25:07 2011 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Mon Dec 26 12:25:07 2011 Cannot allocate TUN/TAP dev dynamically
Mon Dec 26 12:25:07 2011 Exiting
Shouldn't a non-admin user be able to connect to a VPN?
This is almost as annoying as how the Available to All Users button is checked by default now. Making it so if a non-admin user wants to connect to a new network you need to enter in the admin users password. Not very user friendly when you can't give the user your admin password.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: openvpn 2.2.0-2ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Dec 26 12:19:48 2011
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openvpn
UpgradeStatus: No upgrade log present (probably fresh install)
@Brandon, thanks for filing the bug report. To better understand the issue you are seeing could you please confirm you have enabled VPN for VPS by following docs such as: wiki.vpslink. com/TUN/ TAP_device_ with_OpenVPN_ or_Hamachi
http://
Also page 69 on http:// download. openvz. org/doc/ OpenVZ- Users-Guide. pdf may be helpful.
Additional VPN information specific to Ubuntu can be found at: /help.ubuntu. com/community/ OpenVPN
https:/
If these links don't help can you detail how you set up your VPN environment and how your config file (vpn.ovpn) looks.
-Thanks.