As i can define directory /home, /home2 when a particular reseller created an account

artjc

Registered
Jul 23, 2010
2
0
51
I have in a hard disk (dba3) the /home directory and a second hard drive (db1) where to mount a /home2.

I want my client reseller in particular when the make their accounts these are in /home2 and my other clients in /home. Currently all are created in /home2.

Where I can specify or change this in any script whm, cpanel?, where please.

thanks!
 

mohit

Well-Known Member
Jul 12, 2005
553
0
166
Sticky On Internet
cpanel will by default use the /home or /home2 whichever has largest avaliable free space.

you can however move the accounts from WHM --->list accounts--> home partition to select /home
 

artjc

Registered
Jul 23, 2010
2
0
51
cpanel will by default use the /home or /home2 whichever has largest avaliable free space.

you can however move the accounts from WHM --->list accounts--> home partition to select /home
Well, this is the manual mode, but I can do it automatically by changing some value in cpanel, in any script of this?

If possible, I would like to know how.

Thanks mohit!
 

mohit

Well-Known Member
Jul 12, 2005
553
0
166
Sticky On Internet
there's no option in cpanel/whm to define such values to best of my knowledge atleast,

however i think you can use cpanel scripts to make your own pre and post install sccript to do it, I personally have no experience with writing one but i am sure its quite possible, check developer center, from top of this page.