Yes, that is a similar problem and sounds very much like
what I am experiencing.

Peter


Quoting Michael Jonsson <[EMAIL PROTECTED]>:
> Hi,
> 
> I can run any external program like ls, cp, uptime...
> But if a try to run my shell script a get error.
> 
>           $passwdexe = "sudo /usr/bin/webpasswd";
>           $user=$_POST[name];
>           $passwd="$passwdexe $user 123456";
>           echo $passwd;
>           $result = system($passwd);
> 
> Resultat from the web, "sudo /usr/sbin/webpasswd billy 12345678"
> and from the error_log, "couldn't read file "./usr/sbin/webpasswd.": no 
> such file or directory".
> 
> .Mike

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to