[maemo-developers] Root Access for GUI App

From: Eero Tamminen eero.tamminen at nokia.com
Date: Tue Mar 13 12:45:55 EET 2007

ext Michael Matalon wrote:
> Thanks for the quick reply. how do I get it to suid root?

Set that when installing it.  See "man chmod" ("s" flag).

	- Eero

> On 3/13/07, *Eero Tamminen* <eero.tamminen at nokia.com 
> <mailto:eero.tamminen at nokia.com>> wrote:
>     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