[maemo-developers] [maemo-developers] Where can I find the sources for the load-plugin?

From: Andrew Flegg andrew at bleb.org
Date: Sat Feb 18 23:59:10 EET 2006
On 2/18/06, Armin M. Warda <Armin.Warda at web.de> wrote:
>
> 2.) the applet runs as user, swapon/off needs root
>
> For 1.) I am simply struggling with gconf, wrt. 2.) I am considering
> to add two lines to /etc/sudoers and call "sudo /sbin/swapoff ..."
> etc. from the applet. Any better ideas or hints?

Open a pty and drive a root-enabled shell through `sudo gainroot'? Then
users will only have to ensure R&D mode is enabled without any further
hacking.

HTH,

Andrew

--
Andrew Flegg -- mailto:andrew at bleb.org  |  http://www.bleb.org/

More information about the maemo-developers mailing list