Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site rdin2.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!zehntel!dual!amd!decwrl!decvax!mcnc!philabs!rdin2!perl
From: perl@rdin2.UUCP (Robert Perlberg)
Newsgroups: net.sources
Subject: Re: random password generator
Message-ID: <110@rdin2.UUCP>
Date: Fri, 27-Jul-84 10:02:32 EDT
Article-I.D.: rdin2.110
Posted: Fri Jul 27 10:02:32 1984
Date-Received: Mon, 30-Jul-84 01:33:24 EDT
Organization: Resource Dynamics Inc., New York
Lines: 24



>Try this from the cshell:
>
>while (1)
>? randpasswd -w
>? sleep 1
>? end
>
>... the "sleep" will give you time to decide if you liked the
>previous password.

You've been caught, Charles.  I ran the above loop without
the sleep and found out why you REALLY put the sleep in.
Since the random number generator is seeded by the time of
day IN SECONDS, two runs of randpasswd within the same
second will generate the same password.  Users of randpasswd
should keep this in mind if using randpasswd to generate a
block of passwords that will not be examined.

Robert Perlberg
Resource Dynamics Inc.
New York
philabs!rdin!rdin2!perl