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)
dear god no.
pwgen | eyeballs | choose a password that’s easy to remember.
Uh. md5 only has values 0-f. No capitalization. All numbers and letters.
Also, WTF?
Please rename to “Really Poor Password Generator”
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.