Exclude mount point from account creation options

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hi @Edward T.

While I wouldn't recommend mounting anything under /home, the following setting at WHM>>Server Configuration>>Basic WebHost Manager Setup:


Additional home directories matching the following value will also be used for new home directory creations. (Leaving this value blank disables the feature.) This option only takes one value.

Examples: “home” matches /home, /home2, /newhome, /usr/home, /anythingwith/homeinit
Is what allows anything with /home in it to be matched. You can disable this by selecting the box with home in it and then leaving it blank. You can also modify this via CLI by editing /etc/wwwacct.conf to set HOMEMATCH to be blank as follows:

Code:
# grep HOMEMATCH /etc/wwwacct.conf
HOMEMATCH
Thank you,
 
  • Like
Reactions: Edward T.