Re: PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5)
| From: | Daniel Brown | Date: | Thu, 01 Nov 2007 16:43:21 +0000 |
| Subject: | Re: PHP Won't Access Files Outside Web Root (Leopard/MacOS X 10.5) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263935@lists.php.net to get a copy of this message | ||
On 11/1/07, Rahul Sitaram Johari <sleepwalker@rahulsjohari.com> wrote:
> Is there a Terminal way of figuring out the UID/GID of something like admin,
> apache etcetera?
>
> PS: I know it's going OT!
>
>
>
Yes, you'll find those UIDs in /etc/passwd. For example:
apache:x:48:48:Apache:/var/www:/sbin/nologin
That means my Apache server runs with UID 48 and GID 48, with
/var/www as the home directory and /sbin/nologin as the shell.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
Give a man a fish, he'll eat for a day. Then you'll find out he was
allergic and is hospitalized. See? No good deed goes unpunished....