note 46609 added to function.posix-getpwnam
| From: | corychristison at lavacube dot net | Date: | Sun, 17 Oct 2004 11:33:38 +0000 |
| Subject: | note 46609 added to function.posix-getpwnam | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78691@lists.php.net to get a copy of this message | ||
For those of you who are writing daemons with PHP and are one for security. This function will not
return any info if you have called PHP's chroot() function.
Took me a few minutes why it wouldn't find the user it was searching for.
----
Manual Page -- http://www.php.net/manual/en/function.posix-getpwnam.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46609
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46609&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46609&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46609&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46609&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46609&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46609&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46609&report=yes
Search -- http://master.php.net/manage/user-notes.php