I’m frequently required to make test accounts on various systems. I need to create passwords that are obnoxiously long and complex many times in a day. My method for creating those passwords requires OpenSSL to be installed on my workstation:
$ alias secpass="openssl rand -base64 24" $ secpass $ thvxAWI5RT9Skmb/9zQ041zxF+P2enKe
A base 64 password has, in some cases, caused certain poorly designed systems to choke if there are special symbols included. In those cases I use the
$ alias hexpass="openssl rand -hex 24" $ hexpass $ e1289af1316f33c91346c5512465c8488e6f2b5c3ff588fc
Ta da! Instant passwords as long and obnoxious as you please.