note 6819 modified in exec by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 09:30:07 +0000 |
| Subject: | note 6819 modified in exec by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1092@lists.php.net to get a copy of this message | ||
You probably can't call useradd or other root-level programs because web browser is running as
user web, nobody, or something. Look at "User/Group" in the Apache section of the
phpinfo() output to find out. See the sudo command for one solution to this. And be careful!
http://www.php.net/manual/function.exec.php