[maemo-developers] Root Access for GUI App

From: Eero Tamminen eero.tamminen at nokia.com
Date: Tue Mar 13 12:37:13 EET 2007
Hi,

ext Michael Matalon wrote:
> Thanks for the info, but my n800 is currently in R&D mode. I would like 
> to get my gtk app to run a command line app that needs root privilleges 
> to run... mainly because it needs to reinstall the wlan driver.
>  
> Any suggestions on how to do this as painless as possible (hopefully in 
> the code of my app)

Run the command line thing with sudo or set it suid root.
(note: scripts cannot be suid, only real binaries can)

UI apps should not run as root (for several reasons).


	- Eero

More information about the maemo-developers mailing list