[NCLUG] speaking of high school
Mike Loseke
mike at verinet.com
Wed Feb 14 08:24:10 MST 2001
Thus spake Sean Reifschneider:
> 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.
Ooh, nice.
/me thinks about writing a job to randomly change user's passwords at
random times...
--
Mike Loseke | If at first you don't succeed,
mike at verinet.com | increase the amperage.
More information about the NCLUG
mailing list