Adduser utility to generate "random" passwds ?

Kirk Strauser kirk at strauser.com
Mon Jan 8 12:54:53 UTC 2007


On Monday 08 January 2007 5:26 am, Ivan Voras wrote:

> Here's an idea:
>
> $ head -c 64 /dev/random | md5 | head -c 10

Hugely bad idea.  Since md5 outputs hex, you're only getting 4 bits of 
entropy per character.  Much better to use something like sysutils/pwgen to 
generate good random passwords.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070108/9b7e8023/attachment.pgp


More information about the freebsd-questions mailing list