Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th April 2012, 03:28
fatbear fatbear is offline
Member
 
Join Date: Jul 2010
Location: Raleigh, NC US
Posts: 41
Thanks: 4
Thanked 9 Times in 4 Posts
Default Meaningful Names: client, uid, gid

Is it possible to configure ISPConfig so that the names for client, uid, and gid can be specified? That is, instead of client3, web2, etc., I could specify these names.

I'm considering transitioning from another control panel to ISPconfig, and it would make it a lot easier if I could not have to lookup the uid and gid, etc. everytime I need to do a chown, etc. This will also help in making database names more memorable. For example:

chown -R fatbear:fatbear .

is a lot easier to remember than:

chown -R web27:client15 .

And, the above is a lot more error prone.

Please let me know if this can be possible!
__________________
Steve Amerige, Fat Bear Incorporated
Server Leasing | Web Software Development | User Experience & Graphic Design
Managed Services, Website, Java, and Source-Code Hosting
Did my post help you? Click the Thanks button!

Last edited by fatbear; 16th April 2012 at 03:30.
Reply With Quote
Sponsored Links
  #2  
Old 16th April 2012, 11:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,378 Times in 4,225 Posts
Default

Thats not possible.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd April 2012, 02:10
fatbear fatbear is offline
Member
 
Join Date: Jul 2010
Location: Raleigh, NC US
Posts: 41
Thanks: 4
Thanked 9 Times in 4 Posts
Default

If it is not possible to replace the hard-to-remember UIDs and GIDs, and to have path components use the client name and domain and subdomain names directly, then perhaps it is possible to create aliases and symbolic (or hard) links at the appropriate places. For example, I could have links:

/var/www/clients/lee -> /var/www/clients/client3
/var/www/clients/lee/mydomain.com -> /var/www/clients/client3/web8

This would solve the big problem of not being able to just do a pwd and immediately know what customer and what domain the path represents. I do see that there is something close to the second form above already. That's great, but I do note that all links are at the top level of the client folder. It would be better if the links were arranged hierarchically as:

/var/www/clients/client#/domain.com/subdomain -> /var/www/clients/client#/web#

And, there are no client links at the present.

So, is the code flexible enough to allow for custom actions to be done? For example, when:

1. Creating a new client (it will create the first symbolic link above)
2. Creating a new domain (it will create the second symbolic link above)

One custom action could be to add duplicate (alias) entries to the /etc/passwd and /etc/group files so that a more memorable name would show up with commands like "ls -l". None of these customizations would break the existing behavior, but would give me everything I want in terms of using easy-to-remember names for UIDs, GIDs, Client directory names, and Website directory names.

Does the code use a hooks/callback or publisher/subscriber model so that customizations such as the above are easy to do? Otherwise, would you please tell me where in the code these actions are and I'll make some custom modifications. I think this will be something that most administrators would want to have.
__________________
Steve Amerige, Fat Bear Incorporated
Server Leasing | Web Software Development | User Experience & Graphic Design
Managed Services, Website, Java, and Source-Code Hosting
Did my post help you? Click the Thanks button!

Last edited by fatbear; 22nd April 2012 at 02:35.
Reply With Quote
  #4  
Old 22nd April 2012, 12:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,378 Times in 4,225 Posts
 
Default

Ispconfig is very flexible event based framework. So you can easily extend it by crating custom plugins that suscribe to the events. See /usr/local/ispconfig/serrver/plugins-available directory for examples
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
link my domain to my server, impossible! 007007 Installation/Configuration 7 17th January 2012 13:59
DNS Lookups kieron General 4 4th May 2011 19:49
Being Spammed/Hacked/Probed not sure PLEASE HELP! kresser General 10 29th October 2010 17:25
Can't access to my website - after install problem pallermo Installation/Configuration 18 4th June 2010 13:29
Suexec Problems mphayesuk General 21 8th May 2006 22:05


All times are GMT +2. The time now is 13:52.


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