Re: excuting a shell command in linux as root
| From: | Ryan Thompson | Date: | Wed, 08 Oct 2003 07:56:57 +0000 |
| Subject: | Re: excuting a shell command in linux as root | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165398@lists.php.net to get a copy of this message | ||
First off a warning repeated many times over I'm sure.
You sure you want to do that? It's very insecure
Now that my butts covered you might want to take a look at sudo
On Wednesday 08 October 2003 03:14, Michael P. Carel wrote:
> Hi,
>
> Is there any way to execute a shell command line in PHP as root? I want to
> execute it using a web browser, i'm using apache and it runs as nobody.
>
> Any idea/help/suggestions? Thanks in advance
>
>
> mike
--
Ryan Thompson
rthomp@sympatico.ca
http://osgw.sourceforge.net
==============================
"A computer scientist is someone who fixes
things that aren't broken" --Unknown