LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 04-29-2009, 10:42 AM   #1
srinuweb86
LQ Newbie
 
Registered: May 2008
Location: Bangalore
Posts: 3

Rep: Reputation: 0
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?
 
  


Reply

Tags
apache, application, cgi, error, executing, python, while, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RH 8.0 CGI 500 error (apache) 3Dxx Linux - General 46 06-27-2005 05:51 AM
CGI File Not Executing on Apache Server kaplan71 Linux - Software 2 10-21-2004 07:12 AM
how to configure apache in Suse 9.1 t run cgi programmes written in python drako123 Linux - Software 0 08-21-2004 07:27 AM
apache displays .cgi file instead of executing it hewsonism Linux - Software 2 01-13-2004 09:12 PM
cgi error in from apache nrmx Linux - Software 1 05-02-2003 07:54 AM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration