30 May
2012
30 May
'12
2:05 a.m.
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:
- The script really does need to be in the /mailman/bin/ folder.
- 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