Execute command line as a different user

From: Date: Tue, 01 Jul 2008 17:17:41 +0000
Subject: Execute command line as a different user
Groups: php.general 
Request: Send a blank email to php-general+get-276185@lists.php.net to get a copy of this message
My PHP is running as a user with limited rights. I'd like to execute a command line as a different user. I'm trying to delete a file and the PHP user doesn't have access to do this. I know the username and password for the admin user that has rights to delete a file. Is there a command I can use to make PHP run a delete command as the admin user? If so, how can I do this? Thanks, Matt

« previous php.general (#276185) next »