Re: [PHP] Execute command line as a different user

2008-07-07 Thread Daniel Brown
On Tue, Jul 1, 2008 at 1:17 PM, Matt palermo <[EMAIL PROTECTED]> wrote: > 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

Re: [PHP] Execute command line as a different user

2008-07-01 Thread Dan Joseph
On Tue, Jul 1, 2008 at 1:17 PM, Matt palermo <[EMAIL PROTECTED]> wrote: > 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 fo

[PHP] Execute command line as a different user

2008-07-01 Thread Matt palermo
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