Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 – Tom Feb 15 '10 at 19:20
up vote 25 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 rand -base64 10
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .