Let apache run a command as another user

Posted by vise on Server Fault See other posts from Server Fault or by vise
Published on 2010-06-06T20:30:38Z Indexed on 2010/06/06 20:32 UTC
Read the original article Hit count: 371

Filed under:
|

I have a web application that runs a program which needs X. I'm using xvfb to launch it; I want to run it as another user.

I could probably do sudo -u username -p password my command. However, I'm not feeling too good about storing the users password in plain text.

Is there a "smarter" way of doing this?

© Server Fault or respective owner

Related posts about apache

Related posts about sudo