On 2001-04-11 16:32:38 +0100, Shez wrote:

>       The mkpasswd password generator that ships in the
> ``expect'' package of (at least RedHat 6.2) generates only a
> relatively small number (2^15 for the default password length) of
> passwords.  Presumably this is a result of trying to apply too
> many rules of what is a ``good'' password to the generation
> process.

From a quick read of the program code, mkpasswd seeds its random
number generator from the process id, which means that the number of
different passwords is controlled by PID_MAX (which seems to be
0x8000 on current linux systems).

-- 
Thomas Roessler                     <[EMAIL PROTECTED]>

Reply via email to