apg -a 0 -n 10

Generate 10 pronunciable passwords

A great password generation tool. http://www.adel.nursat.kz/apg/
Sample Output
[renich@introdesk ~]$  apg -a 0 -n 10

By: renich
2009-03-28 08:52:59

These Might Interest You

  • The pwgen program generates passwords which are designed to be easily memorized by humans, while being as secure as possible. Human-memorable passwords are never going to be as secure as completely completely random passwords. [from pwgen man page] Show Sample Output

    pwgen 30 1
    sairon · 2011-07-24 19:43:48 0
  • Use the excellent sensiblepasswords.com to a generate random (yet easy-to-remember) password every second, and copy it to the clipboard. Useful for generating a list of passwords and pasting them into a spreadsheet. This script uses "madebynathan"'s "cb" function (http://madebynathan.com/2011/10/04/a-nicer-way-to-use-xclip/); you could also replace "cb" with xclip -selection c Remove "while true; do" and "; done" to generate and copy only 1 password. Show Sample Output

    while true; do curl -s http://sensiblepassword.com/?harder=1 | tail -n 15 | head -n 1 | sed 's;<br/>;;' | cut -c 5- | cb; sleep 1; done
    supervacuo · 2012-01-30 20:52:14 0
  • Generate a table of random 10 character passwords Show Sample Output

    pwgen 10 # generate a table of 10 character random passwords
    mpb · 2012-10-26 08:57:47 0
  • This command is similar to the alternate, except with head(1), you can pick as many passwords as you wish to generate by changing the number of lines you wish to preview. Show Sample Output

    strings /dev/urandom | tr -cd '[:alnum:]' | fold -w 30 | head -n 1
    atoponce · 2014-12-11 06:21:51 0

  • 0
    dd if=/dev/urandom count=200 bs=1 2>/dev/null | tr "\n" " " | sed 's/[^a-zA-Z0-9]//g' | cut -c-16
    amaymon · 2009-08-07 06:32:55 2
  • just change 6 to 9 or 12 or more (multiple of 3) to have bigger password Show Sample Output

    openssl rand 6 -base64
    Le_Jax · 2011-10-05 14:24:41 0

What Others Think

What about using pwgen for this? pwgen 8 10 produces 10 randomly generated passwords - each 8 chars long. If you prefer to have one password per line, just add -1 pwgen 8 10 -1
DNSpyder · 477 weeks and 2 days ago
"Pronunciable" in which language? :)
roebek · 477 weeks and 2 days ago
Yeah I've checked out apg but I always end up using pwgen just because it seems to be more widely available as a preinstalled or prepackaged tool on various platforms.
philiph · 477 weeks and 1 day ago
Oh well, they're kind of pronounceable in spanish... haha... No preinstalled pwgen in fedora!
renich · 477 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: