Sun, 04 Nov 2007, by [EMAIL PROTECTED]:
> Hi,
>
> My department switched last week to openVPN at
> the firewall and it is closing the SSH port.
> I can connect to the server as root running
> "openvpn --config client.ovpn" (with the config file provided
> by the department) and everything seems to work,
> even NX, as long as I keep that connection open.
>
> But I would like to use a GUI tool to make the
> connection more convenient for the students in my lab.
[..]
>
> Is there another GUI, like KnetworkManager, that starts an
> openVPN connection without requiring root password?
Add the user to sudoers
User_Alias VPNusers = user1, user2
VPNusers ALL (ALL) /usr/sbin/rcopenvpn
Then make a desktop link to a short script and make sure you check 'run in a
terminal':
#!/bin/sh
if ! /sbin/checkproc /usr/sbin/openvpn; then
/usr/bin/sudo /usr/sbin/rcopenvpn start
elif /sbin/checkproc /usr/sbin/openvpn; then
/usr/bin/sudo /usr/sbin/rcopenvpn stop
fi
Put your config file in /etc/openvpn/ and it will be used by the init script.
Theo
--
Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org
ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131
SUSE 10.2 + Jabber: [EMAIL PROTECTED]
Kernel 2.6.20 + See headers for PGP/GPG info.
Claimer: any email I receive will become my property. Disclaimers do not apply.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]