[Mailman-Developers] Re: [Mailman-Users] Possible Fix for password

Barry A. Warsaw bwarsaw@cnri.reston.va.us (Barry A. Warsaw)
Tue, 9 Mar 1999 00:28:54 -0500 (EST)

>>>>> "CL" == Christopher Lindsey <lindsey@ncsa.uiuc.edu> writes:

    CL> The password *is* being assigned, but it can't find it later.
    CL> If I do a

    CL>    strings $prefix/lists/test2/config.db | less

    CL> and search for the username with uppercase characters, it
    CL> comes up with a password on the next line...

BTW, because config.db is a Python marshal, you can get at the real
objects by doing the following (kind of gross) from $prefix:

% python
>>> import marshal
>>> d = marshal.load(open('lists/mylist/config.db'))

Now `d' is a dictionary which you can poke at to find all kinds of
useful information.

A little less gross is

% python
>>> from Mailman.MailList import MailList
>>> m = MailList('mylist', lock=0)

Now you can access attributes on m that are equivalent to the keys in
d above.