comptech520

Well-Known Member
Feb 23, 2006
62
0
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!
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
835
29
178
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.