How do panels handle user/group/domain

If a user added a domain to cpanel, will cpanel change the master httpd.conf in apache, then apachectl graceful it?

I am still learning the user/group in httpd.conf. user makes sense, but I don't understand what the group is for.

For exampel if user1 belongs to group1, but not to group2 and I added in httpd.conf this:

User user1
Group group2

Does this mean users in group2 will be able to read httpd written files?

Second case:

if user1 and user2 belongs to group1, and I added in httpd.conf this:

User user1
Group group1

does this mean apache will be able to r/w/e user2's files too?

I ask those questions, because by default, User www and Group www. But www has nologin. If I upload files using another login, apache seems to have trouble handling those uploaded files.

 

 

 

 

Top