I use a package called sudo which allows you to give limited root rights to the
user that your webserver is running as. Using this I'm able to add/delete a user
from a PHP script and also change passwords using poppassd.
http://www.courtesan.com/sudo/
Chris
[EMAIL PROTECTED] wrote:
> Hi,
>
> D
<[EMAIL PROTECTED]> wrote:
> Does anyone know if there is a way to execute a shell command in a php
> script? I am trying to execute the following:
>
> /usr/sbin/cadduser -d www.domain.com -f Adrian -u testing -p testing -q
10 -w
> [EMAIL PROTECTED]
If you're running an Apache module version of P
Hi,
Does anyone know if there is a way to execute a shell command in a php
script? I am trying to execute the following:
/usr/sbin/cadduser -d www.domain.com -f Adrian -u testing -p testing -q 10 -w
[EMAIL PROTECTED]
I have tried passthru(), system(), exec() and none seem to work. I also trie
3 matches
Mail list logo