Florian Effenberger wrote:
>
>2010/5/22 Mark Sapiro <[email protected]>:
>
>>>is there any tool or script to remove the moderator passwords from all
>>>mailing lists? I've lost the plot on which lists have a moderation
>>>password and which don't, so I'd love to reset all of them.
>>
>> See the FAQ at <http://wiki.list.org/x/MIBp>. The input you want is
>>
>> mod_password = None
>
>thanks a lot! Can the normal list administration password also be
>changed via that way, and if so, which parameter do I need to use?
>password = (without mod)?


To set the list admin password you can use

password = 'value'

but value is a sha digest of the plain text password. In order to set
the plain text password, you would need the input to config_list to be
something like

from Mailman.Utils import sha_new
password = sha_new('new_password').hexdigest()

but this will only work with Mailman 2.1.12 and later. For older
mailman, this needs to be

import sha
password = sha.new('new_password').hexdigest()

but this will issue a deprecation warning with Python 2.6.x, but it
will work.

Or, you could just generate the sha digest of the plain text password
separately and set that value.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to