The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM Placing New Accounts In Deep Sub-Directory of /home ??

Discussion in 'General Discussion' started by goodbot, Dec 17, 2015.

  1. goodbot

    goodbot Member

    Joined:
    Jan 29, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Florida
    cPanel Access Level:
    Root Administrator
    I'm running cPanel/WHM 11.52.x on CentOS 7.1 .

    I'm experiencing an odd behavior while creating new accounts in WHM... Instead of the new directories going directly under /home, in my new/odd case here, they're instead going to /home/firstsite/public_html/secondsite (instead of /home/secondsite).

    After I created my firstsite... I created a new mount point (via fstab) on a new virtual disk, mounted at /home/firstsite/public_html. That seems to working fine... except for this situation that the WHM new-account-creation-scripts seem to have become confused that my new /home is /home/firstsite/public_html instead of the plain ol /home.

    Has anyone also experienced this odd behavior? Is there anyway to tell WHM (reset a pointer) that /home is at /home... not /home/firstsite/public_html?

    Using the standard WHM/gui scripts... all of my new sites are being created in the wrong place.

    Any ideas?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can browse to:

    "WHM Home » Server Configuration » Basic cPanel & WHM Setup"

    Change the "Additional home directories matching the following value will also be used for new home directory creations" option to a blank value and save the changes to disable this feature.

    Thank you.
     
Loading...

Share This Page