LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Error while executing python CGI in apache for wireless application (http://www.linuxquestions.org/questions/linux-wireless-networking-41/error-while-executing-python-cgi-in-apache-for-wireless-application-722503/)

srinuweb86 04-29-2009 11:42 AM

Error while executing python CGI in apache for wireless application
 
hi friends,

I am trying to run a shell command from my python CGI program. For this am using apache webserver on fedora 7. But the problem here is when i run the program it is giving following error.

First i run "ifconfig" command which is executed correctly but when i gave "ifconfig ath0 down" it gives the following error.

SIOCSIFFLAGS: Permission denied

Can anyone help me out to get out of this situation.
The problem i thought is the commands which require root permission are not executing.

so how to give root permission to execute these commands?


All times are GMT -5. The time now is 03:13 PM.