Re: excuting a shell command in linux as root

From: Date: Wed, 08 Oct 2003 10:26:40 +0000
Subject: Re: excuting a shell command in linux as root
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-165404@lists.php.net to get a copy of this message
It is questionable if it is really insecure. sudo allows great control over what commands it can run with what parameters. If you combine it with php input checks it gets pretty secure. But that means you HAVE TO know what you are doing. Ryan Thompson wrote:
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


« previous php.general (#165404) next »