Re: [PHP] Execute Shell command?

2001-04-01 Thread Chris Fry
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

Re: [PHP] Execute Shell command?

2001-04-01 Thread Steve Werby
<[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

[PHP] Execute Shell command?

2001-04-01 Thread KPortsmout
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