Discussion in 'General' started by playcraft, May 28, 2010.
Which file adds user admispconfig to the /etc/group file? I need to have it also add apache.
Ispconfig rebuilds the group file on change which overwrites the file. So I need to have ispconfig add apache user along with admispconfig user.
User add/edit after new website
to /ispconfig/scripts/lib/config.lib.php adds the user apache when the initial website is added to ispconfig. But when a user is added to a website then this is overwritten under a different function. I cannot locate the function.
I think you can do this in the make_docroot() function in /root/ispconfig/scripts/lib/config.lib.php.
I tried that (see previous thread). This seems to only work when the website/domain is first created but when a user is added or deleted later it does not add apache therefore it makes me think there is a separate function.
Then it's one of the user functions (user_insert, etc.), I guess.
Separate names with a comma.