Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

A while back, I came across a random password generator for the command line that displayed a grid of "memorable" passwords. Output was something like this:

adam@host:~$ CantRememberThisCommand
lkajsdf   aksjdfl
kqwrupo   qwerpoi
qwerklw   zxlkelq

The idea was that you could run this utility while someone was looking over your shoulder, and still pick a password with some level of secrecy due to the large number of choices.

I cannot remember what this utility was called. Oh interwebs, can you help?

share|improve this question
    
Not quite an answer to your question, but Steve Gibson has something like this available online at grc.com/ppp.htm –  Tom Feb 15 '10 at 19:20

3 Answers 3

up vote 24 down vote accepted

Sounds like you want pwgen.

alt text

There are also some interesting ways to do this without installing additional software, but the 5-letter command is a bit easier to remember :)

share|improve this answer
    
That's it. Thanks very much! –  Annika Backstrom Feb 15 '10 at 20:39
    
You're more than welcome :) –  John T Feb 15 '10 at 20:49
    
I keep coming back to this page because roughly every 6 months I need to generate a password but forget the command! Thanks! –  spikeheap Jun 5 '13 at 10:53

According to your example output pwgen is a good guess (see the answer of John T). But there are many such tools available:

  • pwgen - generate pronounceable passwords
  • gpw - program to generate pronounceable passwords
  • apg - generates several random passwords

Also password managers such as KeePassX provide a passwort generator (but it does not focus on commandline usage nor on pronouncable passwords).

share|improve this answer

No need to install extra packages as openssl should be installed on most machines. we can use the following code to generate an random password: openssl random -base64 10

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.