Exclude mount point from account creation options

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,433
587
263
Houston
cPanel Access Level
DataCenter Provider
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.
Thread starter Similar threads Forum Replies Date
D cPanel Developers 2
S cPanel Developers 3