Error while executing python CGI in apache for wireless application
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 10:37 PM.|