xingplus / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

Down script is executed as nobody #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The latest release (as of July 13th, 2009) seems to have a problem with the
up/down script.

Up script is executed as root, but down script is executed as nobody This
results in the up script changing the name server and writing the old
config to the /tmp/open_vpn_* but downscript can't successfully execute
'scutil' to set the DNS back to the old settings as saved in tmp files.

I've verified that 'scutil' in down script comes back with 'Permission
Denied', and I've verified that it is indeed running as nobody by adding:
touch /tmp/iam_`whoami`
which gives me:
/tmp/iam_nobody

Original issue reported on code.google.com by arv...@gmail.com on 14 Jul 2009 at 12:58

GoogleCodeExporter commented 9 years ago
Not a bug. This is the way openvpn works. This is because your config file has 
user/group defined telling openvon to downgrade privileges. Remove the 
user/group 
setting in your config file.

Original comment by batman...@gmail.com on 15 Jul 2009 at 2:25

GoogleCodeExporter commented 9 years ago
Thank you.

Original comment by arv...@gmail.com on 15 Jul 2009 at 2:26

GoogleCodeExporter commented 9 years ago

Original comment by jkbull...@gmail.com on 21 Jul 2009 at 11:55