web script

Tim Cooper tim at myinternetservices.com
Wed Jul 13 20:31:18 EDT 2005


Is there a way I can make a script to su as a user and have the the script
become that user

cd /home/user/bf2
screen -dmS rental1 /home/user/bf2/start.sh

I have a web app that executes this and another to kill the screen. The
problem I am having is that the users "apache" executes this and not the
user I need it to be

Any suggestions ?

Thanks,
Tim






More information about the Bf1942 mailing list