Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Default Custom home dir... etc

    Hello,

    I've got a fairly custom config.

    All config files in /etc/conf/<service>/*

    And home dirs are the website name i.e. : /www/t/e/www.testdomain.com/html

    -----

    My question is, what is the best way to make cpanel work with these quirks in the setup?

    It looks like the create user script and such are compiled in whostmgr. I could probably edit the C or perl to work with my setup if I could see it.

    But I can't, so I'm just looking for someone knowledgeable to tell me how I should go about doing this, I can think of a few ways, but I'm really looking for the standard/best way. I can write the scripts (eventually)... just want to make sure I'm doing it right before I jump in and mess things up.

    Thank you very much,
    Ben

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Default

    Originally posted by thaphantom
    It cant be done it is built into the binaries. You need to change your setup

    Well, as I see it, that wo uld mean I have to give up my chroot. apache + suexec + chroot... and i really don't want to do that.

    homedirs need to AT LEAST be /whatever/user/./home, if cpanel can't do that... that I dunno... pretty sad.

  3. #3
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    Originally posted by vogue
    homedirs need to AT LEAST be /whatever/user/./home, if cpanel can't do that... that I dunno... pretty sad.
    I think I understand what you are asking. Here is snapshot of a portion of the WHM - Edit Setup screen that allows you to specify your homedirs.....
    Attached Images

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Default

    Yes, I see that. But there's no way for it to create directories the way I want it to.

    /www/<first letter>/<second letter>/<domain>/html

    That, and since all the paths for the conf files seem to be hard coded, I can't move anything, or organize anything the way I want it, and still have cpanel work.

    I was taught hard code = bad code... hopefully I can get this server I've setup downgraded, so I don't have to pay for something I can't use, and don't have to start over again on a different server.

    Ahh well... if it was open source it would be great. I could change the scripts and make them work with my setup.

Similar Threads & Tags
Similar threads

  1. Deleteing /tmp in home dir
    By MrFredbear in forum E-mail Discussions
    Replies: 3
    Last Post: 12-07-2009, 06:49 PM
  2. Lock users into their /home dir
    By nurvox in forum New User Questions
    Replies: 12
    Last Post: 06-03-2007, 08:31 AM
  3. users in dir other than /home
    By mgdoyle in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 08-11-2005, 09:16 AM
  4. pure-ftp home dir
    By lbccserv in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-04-2005, 10:47 AM
  5. Default Home Dir - PROBLEM
    By WildWayz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-25-2002, 09:40 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube