On Monday 05 July 2004 14:49, Mathias Sundman wrote: > On Sun, 4 Jul 2004, Jan Kiszka wrote: > > I would like to have some mechanism to fork an openvpn instance and let > > the new process use a specific configuration file. This would allow to > > start only certain VPN tunnels depending on what the user selects in the > > GUI. > > I've been giving this some more thought... and I agree we definitly need > something like this. > > Is it possible in windows to install a program as SUID in unix, so the > application is ran as administrator even though it is started by an > ordinary user? If yes, that would be eliminate the need to fork new > processes (as I can think of right now atleast).
No, I don't think this is possible in Windows. > If no, Is it only on windows we can't do this, or do we have this problem > on other platforms too? Most other platforms support the SUID bit. > If it's a windows specific problem, then maybe this functionally should be > in the service wrapper. If we add a simple interface to the service > wrapper our gui client could tell the service wrapper to start new openvpn > processes when we want. Yes, this is probably a better idea. > If it's not a windows specific problem, then I suppost it's best to add > the functionallity in the openvpn binary so we get the portability. I don't think the openvpn binary needs to know about this. But the service wrapper probably needs a second mode of operation, where instead of getting its config files by scanning a directory, it listens on a local socket for a command from the GUI to start an openvpn.exe instance. James