Jump to content

How to find Apache username/group on Linux?


mimomomi

Recommended Posts

Hi all:

 

I'm using a shared webserver at 1and1.com. I am installing a software package (SugarCRM) which requires that all of its files be owned by the Apache user, and be in the same group as the Apache user.

 

I've contacted 1and1.com, and they refuse to provide the Apache username and groupname, claiming that it would be a security problem if they gave this information out. I can't see how it would be a problem for them, as I still would not have the password, but I guess that's another issue.

 

My question is: How can I find out the username and groupname that Apache is running under? Is there a way to do it in PHP, CGI, HTML? Or is there a configuration file or log file somewhere that would have this info?

 

I've searched everywhere I can think of, and have not yet been able to find a solution!

 

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.