Update of /cvsroot/mailman/mailman/Mailman/Cgi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10293/Mailman/Cgi
Modified Files:
Tag: Release_2_1-maint
create.py
Log Message:
>From the NEWS file:
- Added the ability for Mailman generated passwords (both member and list
admin) to be more cryptographically secure. See new configuration
variables USER_FRIENDLY_PASSWORDS, MEMBER_PASSWORD_LENGTH, and
ADMIN_PASSWORD_LENGTH. Also added a new bin/withlist script called
reset_pw which can be used to reset all member passwords. Passwords
generated by Mailman are now 8 characters by default for members, and 10
characters for list administrators.
Index: create.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Cgi/create.py,v
retrieving revision 2.21.2.4
retrieving revision 2.21.2.5
diff -u -d -r2.21.2.4 -r2.21.2.5
--- create.py 19 Oct 2004 05:04:17 -0000 2.21.2.4
+++ create.py 30 Dec 2004 20:49:30 -0000 2.21.2.5
@@ -125,7 +125,8 @@
blank if you want Mailman to autogenerate the list
passwords.'''))
return
- password = confirm = Utils.MakeRandomPassword(length=8)
+ password = confirm = Utils.MakeRandomPassword(
+ mm_cfg.ADMIN_PASSWORD_LENGTH)
else:
if password <> confirm:
request_creation(doc, cgidata,
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org