which user is Apache2

Tim Dunphy bluethundr at gmail.com
Sun Nov 16 17:36:23 UTC 2014


Also, consider that depending on the shop the Apache user and group can be changed. For instance my shop likes to use "nobody".

So ps -ef | grep -i apache is one way.

Another easy way is 

egrep -i "user|group" /etc/apache2/conf/httpd.conf


Cheers
Tim

Sent from my iPhone

> On Nov 16, 2014, at 11:10 AM, william drescher <william at TechServSys.com> wrote:
> 
>> On 11/16/2014 9:01 AM, Matthew Sturdy wrote:
>> Hi,
>> 
>> On 16 November 2014 11:30, william drescher
>> <william at techservsys.com <mailto:william at techservsys.com>> wrote:
>> 
>>    Who should I set the user/group to ?
>> 
>> 
>> Normally it runs as www-data, but you should be able to check
>> that with ps and grep:
>> 
>> ps aux | grep apache
>> 
>> Will give you a list of the apache processes and the apache user
>> should be in the left hand column.
>> 
>> Good luck!
> exactly - thanks
> 
> -bill
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list