
Where is the admin password stored for a mailing list?
Thanks, Pete

"PH" == Pete Holsberg pjh@mccc.edu writes:
PH> Where is the admin password stored for a mailing list?
It's stored in the list's config.db database, or in the live MailList object on the `password' attribute:
% python -i bin/withlist stage Loading list: stage (unlocked)
m.password
'NO88Mo9aSdsyc'
Note that the password is crypt()d (usually, unless your Python doesn't have the crypt module, in which case it's md5'd).
-Barry

On Tue, 30 Nov 1999, Barry A. Warsaw wrote:
"PH" == Pete Holsberg pjh@mccc.edu writes:
PH> Where is the admin password stored for a mailing list?
It's stored in the list's config.db database, or in the live MailList object on the `password' attribute:
% python -i bin/withlist stage Loading list: stage (unlocked)
m.password
'NO88Mo9aSdsyc'
Note that the password is crypt()d (usually, unless your Python doesn't have the crypt module, in which case it's md5'd).
Is there a way to change it to a null password with a hex editor?
Thx, Pete

"PH" == Pete Holsberg pjh@mccc.edu writes:
PH> Is there a way to change it to a null password with a hex
PH> editor?
I'm sure there is if you've got a punishment fetish :)
Seriously though, if you want to change a list's password from the command line, the best way to do that is to use the bin/withlist script. Use the -l option to lock the file, set the m.password attribute to the empty string, and then do m.Save() and an m.Unlock() before exiting.
Oh, maybe the above is painful after all for those who are new to Python. Sorry!
-Barry

On Tue, Nov 30, 1999 at 06:38:29PM -0500, Barry A. Warsaw wrote:
Note that the password is crypt()d (usually, unless your Python doesn't have the crypt module, in which case it's md5'd).
I know this is an old mail, but I was wondering was is crypt not just a fallback? I'd much rather have MD5 be the default...
With a recent python, can I force mailman to use MD5 instead of crypt?
Marc
Microsoft is to software what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ (friendly to non IE browsers) Finger marc_f@merlins.org for PGP key and other contact information
participants (4)
-
Barry A. Warsaw
-
Barry A. Warsaw
-
Marc Merlin
-
Pete Holsberg