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.

MPB 17" 2.4Ghz, Mac OS X (10.5.4)

Posted on Mar 12, 2010 3:01 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Running sudo command as _www user

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.