[Mailman-Users] Can you set a list's password via the command line?
Mark T. Valites
valites at geneseo.edu
Fri Mar 8 03:59:48 CET 2002
I replied off the list last to to a similar post. When I moved my ~475
lists, I hit the same problem.
What I ended up doing was:
foreach list in lists
do
dumpdb $list/config.db | grep admin_password_line | some awk (to
rip out the password column) | some sed (to get rid of some funky
characters) > $listname_file
done
foreach list in lists
do
config_list -i $listname_file
done
This worked fairly well. 40 or so out of the ~475 at the time didn't
take & I had to manually fix the files, or just reset the passwords. It
wasn't that hard, and I just did it all from the shell prompt, but I
might be able to dig it up if you really need me to.
I am of course, interested in a more *proper* way of doing this.
On Thursday, March 7, 2002, at 09:43 PM, James Madill wrote:
>
> In moving the 175 mailing lists from one machine (version 2.0.1) to
> another (version 2.0.8), all of the list passwords are no longer
> working.
>
> Is there a way to set a list's password via the command line? I'd hate
> to have to manually set each one & send it to the list admin(s).
>
> -- James
>
> o o o o o o o . . . _______________________ _______=======_T___
> o _____ |James Madill | |Duke Univ Med Ctr|
> >.][__n_n_| D[ ====|____ |james.madill at duke.edu| | (919) 286-6384 |
> (________|__|_[____/____]_|_____________________|_|_________________|
> _/oo O-O-O ` oo oo 'o^o^o o^o^o` 'o^o o^o`
> -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
> <http://www.duke.edu/~madil001/>
>--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471(Cell)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2801 bytes
Desc: not available
Url : http://mail.python.org/pipermail/mailman-users/attachments/20020307/d91e67cf/attachment.bin
More information about the Mailman-Users
mailing list