Running sudo command as _www user
I have a web interface on a Mac Server for Final Cut Server that basically uses php's exec command to run some of FCS's command line tools and return results. The site basically sends a variable to a bash script on my computer, which in turn runs the correct script, so it's fairly secure and limited in what it can do.
I want to run a command that requires the sudo command. I have this password protected, so I'm not worried about security there either.
The problem is that the script's user is _www, and so I can't seem to run sudo. How do I make this possible? Thanks.
I want to run a command that requires the sudo command. I have this password protected, so I'm not worried about security there either.
The problem is that the script's user is _www, and so I can't seem to run sudo. How do I make this possible? Thanks.
MPB 17" 2.4Ghz, Mac OS X (10.5.4)