Originally posted by AlexAT
Thank you very much!
It helps but not in 100%.
/etc/login.defs - does not affect account creation.
When I set UID to 32000 within the WHM it creates entries like this:
so - where can I change minimum group ID?
My mistake, you're right. Have a look at /scripts/realadduser (I think that's the script which effectively adds users). It restricts ids like this:
Code:
if (int($minuid) < 1) {
$minuid = 500;
}
$mingid = 500;
$maxuid = 32000;
$maxgid = 32000;
where minuid is optionally set from WHM.
I don't know if there's a good reason to do it that way, but I don't know if there's any good reason to mess with this either. It should not affect quotas at all, as long as each user has their own unique uid. Also in a standard cpanel box there are not group quotas, so that shouldn't affect either. I really wouldn't touch this.