View Single Post
Old 01-18-2014, 03:25 PM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by Rochard View Post
I use a random password generator. I've been doing this for years, and it's worked great. In fact, I use; http://www.random.org/passwords/

However, the other day I generated a new rather important password that has the world "queer" in it. Very odd.
yup, me too - add this to your .bashrc profile:

Code:
genpasswd() {
        local l=$1
        [ "$l" == "" ] && l=20
        tr -dc A-Za-z0-9 < /dev/urandom | head -c ${l} | xargs
}
then call it on the command line with:
genpasswd
or
genpasswd 8
(for 8char passwords etc)

my passwd for my bank as of today is aeXsKpHjnEOyeEcUGgWc
Njoy
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202

Last edited by borked; 01-18-2014 at 03:26 PM..
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote