Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problem Creating account

Discussion in 'General Discussion' started by comptech520, Jul 16, 2014.

  1. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    When I create a new account, it creates in in /home2 (which is a folder I created for my storage drive) because it has more free space. Any ideas on how I can force it to use /home instead of /home2?

    Enter the location where you wish for new users’ home directories to be created. By default all directories matching the "Home Directory Prefix" are checked for available disk space and the directory with the most free space will be used.

    Thanks!
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    834
    Likes Received:
    29
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Remove the Home Directory Prefix. Or in /etc/wwwacct.conf, make it look like this:

    Code:
    HOMEDIR /home
    HOMEMATCH
    
    HOMEMATCH is what tells cpanel to match any folder with /home in it, and it will use whatever partition has the most space available. Removing this will force all users to /home.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,822
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Yes, the instructions in the previous post are accurate. Note the "Leaving this value blank disables the feature." text in "WHM Basic cPanel & WHM Setup".

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice