logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



login user

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
evawong



Joined: 11 Feb 2019
Posts: 3
Location: china

PostPosted: Mon 11 Feb '19 12:49    Post subject: login user Reply with quote

We have apache 2.x running on redhat , as I know there are user ID could be used to run the apache service eg. "root" , "apache" , "daemon" , "specific user ( general user )" , would advise which user should be used to run the apache service , what is the difference to choose among them ?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6519
Location: Germany, Next to Hamburg

PostPosted: Wed 13 Feb '19 11:33    Post subject: Reply with quote

If the user exists use daemon for user and group
Back to top
evawong



Joined: 11 Feb 2019
Posts: 3
Location: china

PostPosted: Wed 13 Feb '19 12:29    Post subject: Reply with quote

thanks reply ,

But what is the different of these different user ID in holding apache process ?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6519
Location: Germany, Next to Hamburg

PostPosted: Wed 13 Feb '19 14:23    Post subject: Reply with quote

Thee difference is the permissions for different folders and if the user can log in or can't. For the login see /etc/passwd file
Back to top
evawong



Joined: 11 Feb 2019
Posts: 3
Location: china

PostPosted: Fri 15 Feb '19 3:22    Post subject: Reply with quote

"daemon" is good to use to hold the apache service ?
to compare with other ID , would advise the difference to use such ID . thanks
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1