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 ?
Best Regards,
Abhijit
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com |
_______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
