Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Here is a bash function I use (Score 1) 637

Stick this in your $HOME/.bashrc

genpasswd() {
     tr -dc '[:graph:]' < /dev/urandom | head -c ${1:-16};     echo;
}

Then you can just generate a password by calling "genpasswd". If you don't like the default length of 16 you can give a different length as a parameter.

Here's an example of the output:

$ for i in {1..20}; do genpasswd 30; done
?g*urm[[*eFX4595yE4IGJlE}Y=aKM
o+g{\x]z}"G*!+9RSC/9}_?Cm.BAC,
^xvy:R1HAU?ltJvUHYC=?(/Vf94k"i
>CV&G_L0;z~"/8),$]dc|JuVY.Ex8Q
?kRAo&p+?#HhC27tB!Dao$u1K}%Y6G
Q$,CaghZ\>atglH3UNLQP}@G=aea+p
!=5Od(kW\d~Ki4Gf,?6:[iWJVQs+64
9,1FxZB&%#Ha@s,Y,$qNr%y6ddHT3Q
~Y2$7h1gxe(inHVFB=vE^8{dhu{{!"
zG)ft;!I@,j7T<ZKBa3^o^7|~Y/*0T
pfy>r$9B\efdt6)B-x/B5GCQywtb,%
xU+.k%T.g,el|<"H3aejl,68!:9]B-
g=VB2`#j!z5Fdrt|GxK[^oU<%+Qj,$
W0?}1(2W+__~\@.5}d5+;@rM?%.1`>
i59yTDH%Qla97'4"_bNbAh'hI243Js
cq@v,U4_8s*"?:7[qytCQ=9zDxx=k;
kozXefJoN[CI@w:'Fzi0$RSntHk<II
pvpc1vi4U%?]7=/Q!OC[b3V?'9})sC
1Frg'V]hTMFB5GA-Ek!"NCV3Y;5FK:
{]cW%y8cepu)vW;nq:dh}9G]SI=He^

Slashdot Top Deals

I have a theory that it's impossible to prove anything, but I can't prove it.

Working...