becoming root user within php
| From: | Tom Cruickshank | Date: | Tue, 26 Jul 2005 21:28:31 +0000 |
| Subject: | becoming root user within php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219382@lists.php.net to get a copy of this message | ||
Hello,
I'm in the process of executing system commands using php. The only problem
is that I am not entirely sure how to execute these system commands using
root user.
(I need root access to do a few things through php). Whenever I use the exec
command it uses the www user. Would anyone know? Thanks for any assistance!
Tom