1

permit apache to run as root

view story
linux-howto

http://stackoverflow.com – I have a UI that upon event should POST to a script on that server. That python script (named /usr/lib/cgi-bin/start.py) in turn needs to run a process using process = subprocess.Popen(['/usr/sbin/atms','-k'], shell=False, stdout=subprocess.PIPE) print "{done:1}" Now, when I run it as root on the server shell by executing root$ /usr/lib/cgi-bin/start.py the process atms starts successfully, so the script works and prints a notice of "{done:1}" However when I run as a client on my browser and POST to start.py I get a response from the server that looks like "{done:1}" but right af (HowTos)