[NCLUG] speaking of high school

Sean Reifschneider jafo at tummy.com
Tue Feb 13 18:49:42 MST 2001


On Tue, Feb 13, 2001 at 11:02:36AM -0700, mike cullerton wrote:
>   hope things are treating you well today. i have an algorithm/programming
>question. what's the best way to generate a random password in code?

How about:

	passwd = os.popen('gpw', 'r').readlines()[0]

gpw is a fine program that generates random passwords based on english
letter combinations.  So, they tend to be things that SOUND like words,
but aren't.

Sean
-- 
 Rocky: "I must be getting near-sighted!  You look all fuzzy..."
 Bullwinkle: "Let's face it, Rock...  I *AM* all fuzzy."
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



More information about the NCLUG mailing list