On 06/07/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi, I am developing a control panel applet and want to configure IP address from the applet using ifup eth0 command. But I am not able to execute this command as it needs root permission to execute the command. I am running the command from applet using system command.system("ifup eth0"). I also tried to execute following script from control panel applet sudo gainroot ifup eth0 but it did not work, it changes to root shell but ifup runs in old shell. Any idea, how to get avoid this permission problem ?
How about "sudo ifup eth0"? I'm not sure what you'll need to add to /etc/sudoers to enable this, however ... Jonathan -- Jonathan Matthews-Levine e: [EMAIL PROTECTED] _______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
