Page 1 of 1

daemon

PostPosted: 17. March 2015 14:42
by proudly
on the httpd.conf there is user and a group with the name :daemon
What is that for?

Re: daemon

PostPosted: 17. March 2015 15:17
by mark.mcdonald

Re: daemon

PostPosted: 17. March 2015 15:24
by proudly
that says ''the file works as a daemon'', yes, but who is the user , and what is the group?

Re: daemon

PostPosted: 17. March 2015 15:39
by mark.mcdonald
The "user" and "group" need to be a valid non-privileged user. You may want to avoid using generic system users like "nobody" "or daemon" and make your own user. For the example we used "web_daemon".
IF this doesn't satisfy your question, I will wait for someone else to answer this. Unless your site is complaining about it I wouldn't worry about it.

Re: daemon

PostPosted: 17. March 2015 18:14
by proudly
[quote="mark.mcdonald"]The "user" and "group" need to be a valid non-privileged user.

Where could we see the priveleges of the user daemon (like we do with users on phpmyadmin)?



This user and group was put there for a reason to compare against other users.
What do you mean ''to compare'' Where the comparison is made and for what reason?

Re: daemon

PostPosted: 17. March 2015 18:31
by mark.mcdonald
http://www.faqs.org/docs/securing/chap29sec245.html
User daemon
->The option User specifies the UID that Apache server will run as. It's important to create a new user that has minimal access to the system, and functions just for the purpose of running the web server daemon.
Group daemon
->The option Group specifies the GID the Apache server will run as. It's important to create a new group that has minimal access to the system and functions just for the purpose of running the web server daemon.

Like I said this is a valid non-privileged user only intended for the initial setup of apache. Unless your site is complaining about it, don't worry about it as it won't cause any security issues.