daemon

Problems with the Windows version of XAMPP, questions, comments, and anything related.

daemon

Postby proudly » 17. March 2015 14:42

on the httpd.conf there is user and a group with the name :daemon
What is that for?
proudly
 
Posts: 12
Joined: 17. March 2015 14:23
Operating System: vista

Re: daemon

Postby mark.mcdonald » 17. March 2015 15:17

mark.mcdonald
 
Posts: 160
Joined: 13. March 2015 15:48
Location: Edmonton
Operating System: Windows Server 2012 R2

Re: daemon

Postby proudly » 17. March 2015 15:24

that says ''the file works as a daemon'', yes, but who is the user , and what is the group?
proudly
 
Posts: 12
Joined: 17. March 2015 14:23
Operating System: vista

Re: daemon

Postby mark.mcdonald » 17. March 2015 15:39

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.
Last edited by mark.mcdonald on 17. March 2015 18:31, edited 1 time in total.
mark.mcdonald
 
Posts: 160
Joined: 13. March 2015 15:48
Location: Edmonton
Operating System: Windows Server 2012 R2

Re: daemon

Postby proudly » 17. March 2015 18:14

[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?
proudly
 
Posts: 12
Joined: 17. March 2015 14:23
Operating System: vista

Re: daemon

Postby mark.mcdonald » 17. March 2015 18:31

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.
mark.mcdonald
 
Posts: 160
Joined: 13. March 2015 15:48
Location: Edmonton
Operating System: Windows Server 2012 R2


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 88 guests