[maemo-developers] dbus api for wlancond

From: Kalle Valo Kalle.Valo at nokia.com
Date: Mon Sep 3 20:07:37 EEST 2007
Tim Teulings <rael at edge.ping.de> writes:

>> You can use sudo to gain root privileges on N800.
>
> I'm speaking of an potential enhancement for a GUI program, namely
> WifiInfo, wich you also can find in it in the application catalog. so
> doing a sudo is not what I would like the user to do :-)

One way to use sudo with a GUI application is to start it with a
script which just starts the applications using sudo. Like this:

#!/bin/sh
sudo mycoolapp

Just add the script to the application menu, update sudoers from
postinst and that's it. 

Yeah, it's ugly but works. I have never even bothered to see how to
set setuid bits from a debian package.

If anyone has better way to do that, I'm all ears.

-- 
Kalle Valo

More information about the maemo-developers mailing list