here is how I create random passwords.
head -c 8 /dev/random > /tmp/xxx openssl enc -base64 -in /tmp/xxx | head -c 8
is there a better way?
How about: `uuidgen | md5sum | cut -c-12`
Now uuidgen I didn’t know about.
Interestingly although they both use /dev/random uuidgen seems to be heavier on the numbers while base64 encoding /dev/random is heavier on the letters.
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
How about: `uuidgen | md5sum | cut -c-12`
Now uuidgen I didn’t know about.
Interestingly although they both use /dev/random uuidgen seems to be heavier on the numbers while base64 encoding /dev/random is heavier on the letters.