[Mailman-Users] User Passwords - Mass Subscribe/Mass Change
drew.tenenholz at isid.org
Wed May 30 04:05:11 CEST 2012
Mark, et. al.
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
> 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.
More information about the Mailman-Users