Monthly Archives: December 2011

Examples of APG

Generate random password with apg.

Quick tip.

If you want to generate a random password, you could use /dev/random, but it is more complex than using apg (Automated Password Generator).

So, to install apg on Fedora, run this command:

# yum install apg

Useful parameters:

  • -a algorithm choose algorithm
    • 1 – random password generation according to password modes
    • 0 – pronounceable password generation
  • -n num_of_pass           generate num_of_pass passwords
  • -m min_pass_len         minimum password length
  • -x max_pass_len          maximum password length
  • -l spell generated password
  • -t print pronunciation for generated pronounceable password

Some examples:

Examples of APG
Examples of APG. Click to zoom.