Mark, et. al.

Got it!

At 6:37 PM -0700 5/29/12, Mark Sapiro wrote:
>Fixing it how? Do you know that it is a withlist script. It should be
>saved in Mailman's bin/ directory as bin/reset_pw.py and run via a
>command like
>
> bin/withlist -l -r reset_pw LISTNAME
>
>Is that how you're running it? If so, what happens when you run it?

When I run either this modified script or the built-in one, I was always 
getting a random password.  I need a fixed one.

The 'trick' seems two-fold:
1) The script really does need to be in the /mailman/bin/ folder.
2) The script seems to manage to call the built-in reset_pw script that comes 
with the installation.  That script always chooses a random password.  So, I 
just saved that as reset_pw_orig.py, used a modified version as the 'real' 
reset_pw, and all was well.

Sorry for the long struggle.  I'm _not_ a python user, and get a bit tangled up 
in a syntax I almost (but not quite) understand.  I'm sure this seems like a 
piece of cake to the rest of you.

-- Drew
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to