[Mailman-Users] migration & passwords

Jim Tittsler jwt at dskk.co.jp
Fri Jun 2 08:41:24 CEST 2000


On Thu, Jun 01, 2000 at 04:51:05PM -0500, Edward O'Connor wrote:
> The bin/sync_members script program that ships with Mailman should make
> this a snap, but I find myself wondering where it gets new user passwords
> from. I'd like it to use a pre-existing password generator that I have,

It generates them.

At about line 230 in my version of bin/sync_members there is a loop for
all of the members that need to be added to the list.  The first thing
it does each pass through the list is generate a password for each
addressee:

    for laddr, addr in needsadding.items():
        pw = '%s%s' % (Utils.GetRandomSeed(), Utils.GetRandomSeed())

It generates a 4 character password 2 characters at a time.

-- 
Jim Tittsler, Tokyo
Python Starship     http://starship.python.net/crew/jwt/





More information about the Mailman-Users mailing list