Random password generator

date +%s | md5 | cut -c -12

Okay, the consensus in the comments seems to be that this does not make great passwords. I’m happy with its level of randomness, but of course I agree that only numbers and lowercase letters does not provide for maximum security.

Looks like there is a password generating program called pwgen, or to generate acceptably random passwords without installing extra software:

openssl rand 9 -base64

(btw– my purpose here is to generate passwords for things like mysql accounts, so they do not need to be human-memorable)

5 Responses to “Random password generator”


  1. 1 Matt Sayler

    dear god no.

  2. 2 Anonymous

    pwgen | eyeballs | choose a password that’s easy to remember.

  3. 3 James Nobis

    Uh. md5 only has values 0-f. No capitalization. All numbers and letters.

    Also, WTF?

  4. 4 Anonymous

    Please rename to “Really Poor Password Generator”

  5. 5 Matt Sayler

    If you really want random passwords, please either

    1) apt-get install pwgen

    For reasonably memorable passwords or..

    2) openssl rand 9 -base64

    For 72 whole bits of randomness in 12 characters.

Leave a Reply




Close
Powered by ShareThis