On 2/18/06, Armin M. Warda <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] | http://www.bleb.org/ _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers