Run a command as another user within apache
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:42 UTC
Read the original article
Hit count: 358
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