[Mailman-Users] Site password not functioning

Mark Sapiro mark at msapiro.net
Fri Apr 2 02:08:28 CEST 2010


Rob wrote:

>On Apr 1, 2010, at 6:51 PM, Mark Sapiro wrote:
>
>> Rob wrote:
>>> 
>>> I tried quitting the browser and restarting several times, and also deleted cookies manually, but the problem persists. I will do some more digging and let you know what I come up with.
>> 
>> 
>> Key question #1 is are the cookies named 'listname-admin' or 'site'?
>> 
>> -- 
>
>They are named listname+admin
>
>Is there any way to determine whether my mailman installation is reading the lines from my mm_cfg.py correctly?


Here's one way.

[mark at sbh16 ~]$ /path/to/bin/withlist -i
No list name supplied.
Python 2.4.3 (#1, Sep  3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from Mailman import mm_cfg
>>> mm_cfg.ALLOW_SITE_ADMIN_COOKIES
False
>>>
[mark at sbh16 ~]$


You type the command with the correct path to Mailman's bin/withlist.
Then you type the two lines after the '>>>' prompts. In your case, the
response should be True or 1. At the third prompt, type control-D.

Another clue is whether the timestamp on mm_cfg.pyc is more recent than
that on mm_cfg.py, although this isn't always definitive due to
possible permission issues.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list