#1  
Old 28th May 2010, 16:57
playcraft playcraft is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default /etc/group

Which file adds user admispconfig to the /etc/group file? I need to have it also add apache.
Reply With Quote
Sponsored Links
  #2  
Old 28th May 2010, 19:09
playcraft playcraft is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ispconfig rebuilds the group file on change which overwrites the file. So I need to have ispconfig add apache user along with admispconfig user.
Reply With Quote
  #3  
Old 15th September 2010, 16:32
playcraft playcraft is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default User add/edit after new website

Adding
PHP Code:
$mod->system->add_user_to_group("web".$doc_id,"apache"); 
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.

Last edited by playcraft; 15th September 2010 at 16:51.
Reply With Quote
  #4  
Old 16th September 2010, 14:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
Default

I think you can do this in the make_docroot() function in /root/ispconfig/scripts/lib/config.lib.php.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 16th September 2010, 14:13
playcraft playcraft is offline
Junior Member
 
Join Date: May 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Last edited by playcraft; 16th September 2010 at 14:20.
Reply With Quote
  #6  
Old 17th September 2010, 15:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
 
Default

Then it's one of the user functions (user_insert, etc.), I guess.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
/etc/group, admispconfig, apache

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
postfix migration from old box to new box dexjul Server Operation 5 23rd April 2010 00:56
ISPConfig damaged my /etc/group ! :-/ NIXin General 4 21st April 2008 23:18
/etc/group problem wpwood3 General 17 11th November 2007 15:01
ISPConfig blew away /etc/passwd and /etc/group digerata General 3 24th August 2007 21:26


All times are GMT +2. The time now is 19:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.