I am having trouble using the resolvconf script to manage resolv.conf
The config file i was given to access a vpn has the following lines to allow it to run as unpriveleged user
user nobody
group nogroup
script-security 2
I am running this on debian 6 with resolvconf installed
I have found that when i connect to the vpn the script works to add the nameservers which have been pushed, however when i disconnect the vpn it fails to run the script to remove these setting
I have found that running without the lines, user nobody, group nogroup everything work fine so it seems it is unable to run this script properly not as root, but no errors are ever thrown out to confirm this
is there a way i can make this work still keeping the the Unpriviledged user lines in the config?
Unprivileged User resolvconf problem
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Jun 19, 2012 3:05 am
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Unprivileged User resolvconf problem
you'll need the 'down-root' plugin for that. Read up on e.g. http://wiki.maemo.org/OpenVPN for an example (it's not for Debian but the principle is the same)