tbender_temp
Registered
Hi.
At the moment im trying to programm a dashboard widget to start and stop connections using the vpnc client (http://www.unix-ag.uni-kl.de/~massar/vpnc/). To do start or stop a connection i need root-priveleges and have to type for example in a terminal
. My widget should be able to do this for me and offers two buttons, which execute the vpnc-connect/disconnect commands. As mentioned before, these commands need root-priveleges.
Does anybody know a way to make my widget execute root-commands?
Thanks in advance,
Tobias
At the moment im trying to programm a dashboard widget to start and stop connections using the vpnc client (http://www.unix-ag.uni-kl.de/~massar/vpnc/). To do start or stop a connection i need root-priveleges and have to type for example in a terminal
Code:
sudo vpnc-connect
Does anybody know a way to make my widget execute root-commands?
Thanks in advance,
Tobias