hmm, that/this is interesting...
thx for the insight Alex - this is definitely something that ought to happen upstream in Joomla/core function (it really seems silly to me that you can enforce thru Joomla's own User Options password requirements for new, front-end user registrations that joomla-core will then not follow/adhere to itself when creating a new user on the backend/auto-gen new user passwords, neither for length or character mix).
also feel silly asking you something like this, so please don't feel obligated/no offense taken if this isn't in the best interest of your time, but:
would something along this line (as defined in: libraries/joomla/user/helper.php) work to up the password length minimum?
function genRandomPassword($length = 16)
{
$salt = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
$len = strlen($salt);
$makepass = '';
$stat = @stat(__FILE__);
if(empty($stat) || !is_array($stat)) $stat = array(php_uname());
mt_srand(crc32(microtime() . implode('|', $stat)));
for ($i = 0; $i < $length; $i ++) {
$makepass .= $salt[mt_rand(0, $len -1)];
}
return $makepass;
}
##OR something like:
$pw = substr(md5(rand()), 0, 16); //16 character random string
i may be looking at outdated joomla docs for this, so... not sure... I'm also delving into this intriguing php script to see if I can glean anything out to apply:
TitleHow to create a Joomla 3 user programmatically