RE: Apache Question About User Permissions

  • From: "Homme, James" <james.homme@xxxxxxxxxxxx>
  • To: "programmingblind@xxxxxxxxxxxxx" <programmingblind@xxxxxxxxxxxxx>
  • Date: Wed, 8 Dec 2010 07:54:10 -0500

Hi,
Thanks for such clear instructions. This is wonderful.

Jim

Jim Homme,
Usability Services,
Phone: 412-544-1810. Skype: jim.homme
Internal recipients,  Read my accessibility blog. Discuss accessibility here. 
Accessibility Wiki: Breaking news and accessibility advice


-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Øyvind Lode
Sent: Tuesday, December 07, 2010 4:04 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: Apache Question About User Permissions

If you have shell access to the server you can find which UID apache is 
running as by executing the following commands:

ps -ef | grep apache

Or the daemon may be called httpd:

ps -ef | grep httpd

The first column from the left is the UID of the process (the owner of 
the PID).

I guess you'll see multiple apache processes.
The first one is most likely running as root.
But  as soon as apache starts it forks and the child processes are 
running as www-data (default for debian) or http, httpd, apache etc.
It's the owner of the child processes you are interested in.

On 07.12.2010 19:51, Homme, James wrote:
> Hi,
>
> Is this standard? Can I read somewhere about this? Should I ask my
> provider to make sure?
>
> Thanks.
>
> Jim
>
> Jim Homme,
>
> Usability Services,
>
> Phone: 412-544-1810. Skype: jim.homme
>
> Internal recipients, Read my accessibility blog
> <http://mysites.highmark.com/personal/lidikki/Blog/default.aspx>.
> Discuss accessibility here
> <http://collaborate.highmark.com/COP/technical/accessibility/default.aspx>.
> Accessibility Wiki: Breaking news and accessibility advice
> <http://collaborate.highmark.com/COP/technical/accessibility/Accessibility%20Wiki/Forms/AllPages.aspx>
>
> *From:*programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] *On Behalf Of *QuentinC
> *Sent:* Tuesday, December 07, 2010 1:33 PM
> *To:* programmingblind@xxxxxxxxxxxxx
> *Subject:* Re: Apache Question About User Permissions
>
> Hello,
>
> Apache is generally using an user called something like www-data, except
> if you are using a control panel which renamed it to something else, and
> I believe the created files in web folder are 0644 by default.
>
>
> ------------------------------------------------------------------------
> This e-mail and any attachments to it are confidential and are intended
> solely for use of the individual or entity to whom they are addressed.
> If you have received this e-mail in error, please notify the sender
> immediately and then delete it. If you are not the intended recipient,
> you must not keep, use, disclose, copy or distribute this e-mail without
> the author's prior permission. The views expressed in this e-mail
> message do not necessarily represent the views of Highmark Inc., its
> subsidiaries, or affiliates.
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

Other related posts: