Re: running php script as a user?

From: Date: Tue, 21 Jul 2009 11:49:26 +0000
Subject: Re: running php script as a user?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-295617@lists.php.net to get a copy of this message
sudo -u user command 2009/7/15 Adam Williams <awilliam@mdah.state.ms.us>: > I have a page where a user authenticates, fills in some information in an > HTML form, and then when clicking on the submit button, will need to execute > a php schell script as that user to write some data to their /home/username > directory.  Since apache web server runs as the user nobody, how will I have > that script execute as that user so that it can write data to their home > directory? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Maximiliano Churichi <mchurichi@gmail.com>

« previous php.general (#295617) next »