Creating Passwords that don’t Require a Keyboard Epiphany using pwgen

Written by James McDonald

September 26, 2015

Just rediscovered pwgen which I had forgotten all about.

I’m still a fan of Secure Memorable Passwords for personal use though.

But pwgen is great if you are wanting to automate installations and require random mysql table prefixes:

# mysql table prefixes
pwgen -A 3 2 -1
7ey
y4q

# complex passwords 
pwgen -c -n -y -B 20 1
oot7vang7aeshi\a7eig

# db login details
pwgen -c -n 64 1
anaepahfaeFoofoo6vaewogicai3aebai3ekoongeewai9ua5ohjai9Oog3ahThe

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

ZPL SBPL

Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...