With @Licensecart's help here how you ensure that your WHM will auto provision...
go to: yourblestainstalldir/components/modules/cpanel/cpanel.php
Using the TEXT editor (not the "screw you up" coding editor)
Then get to:
private function generatePassword($min_length = 10, $max_length = 14)
{
$pool = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()';
$pool_size = strlen($pool);
$length = mt_rand(max($min_length, 5), min($max_length, 14));
$password = '';
for ($i=0; $i<$length; $i++) {
$password .= substr($pool, mt_rand(0, $pool_size-1), 1);
}
return $password;
}
In the bold text areas is where you want to kick up the values. My provider recommends for uninterrupted run a min. of 16 characters should cut the mustard every single time.
Insane? Yes but it's works!
Beside it will mitigate the claims of "your system's password caused my account to be hacked!'. Being able to prove to such any rude clients like that CHANGING the passwords REGULARLY is a requirement!