note 3807 deleted from exec by jmoore
| From: | jmoore@php.net | Date: | Fri, 18 Aug 2000 23:26:37 +0000 |
| Subject: | note 3807 deleted from exec by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2572@lists.php.net to get a copy of this message | ||
You may find running /usr/bin programs will not work because the 'nobody' user environment
is somewhat skimpy. putenv("HOME=/home/nobody") and putenv("USER=nobody")
before the exec() call will help (as long as you've edited /etc/passwd so that
'nobody' can have a place to call home).