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 ??
sudo- very carefully. See this link. Note the warnings and instructions here!!