1

I am using mod_python for executing a Python script from Apache 2.2.x at OpenBSD 5.1. I am successfully running a Python script which does not require root privilege. But I am executing several function of Firewall(Packet Filter) from Python Script which requires root privilege. Will anyone tell me how can i do it please ??

2
  • You probably want to use sudo - very carefully. See this link. Note the warnings and instructions here!! Commented Apr 8, 2013 at 4:14
  • I am using mod_python for execution of python scripts . is it possible to execute specific python script from apache ??? Commented Apr 8, 2013 at 5:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.