aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorbwarsaw <>2004-12-30 20:49:31 +0000
committerbwarsaw <>2004-12-30 20:49:31 +0000
commit292e9a631ebec94138bd4f3b1f5a1a9faea9cb38 (patch)
tree1a48bcb9e9fbcce81a636e0af2f97ee57cf7f82c /Mailman/Defaults.py.in
parentbef8ca35019a13a4973086e7bf60d52e815763da (diff)
downloadmailman2-292e9a631ebec94138bd4f3b1f5a1a9faea9cb38.tar.gz
mailman2-292e9a631ebec94138bd4f3b1f5a1a9faea9cb38.tar.xz
mailman2-292e9a631ebec94138bd4f3b1f5a1a9faea9cb38.zip
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.
Diffstat (limited to 'Mailman/Defaults.py.in')
-rw-r--r--Mailman/Defaults.py.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 3c7ecfdb..ca1fcd65 100644
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -787,6 +787,21 @@ ADMIN_CATEGORIES = [
# list's config variable default_member_moderation.
DEFAULT_NEW_MEMBER_OPTIONS = 256
+# Specify the type of passwords to use, when Mailman generates the passwords
+# itself, as would be the case for membership requests where the user did not
+# fill in a password, or during list creation, when auto-generation of admin
+# passwords was selected.
+#
+# Set this value to Yes for classic Mailman user-friendly(er) passwords.
+# These generate semi-pronounceable passwords which are easier to remember.
+# Set this value to No to use more cryptographically secure, but harder to
+# remember, passwords -- if your operating system and Python version support
+# the necessary feature (specifically that /dev/urandom be available).
+USER_FRIENDLY_PASSWORDS = Yes
+# This value specifies the default lengths of member and list admin passwords
+MEMBER_PASSWORD_LENGTH = 8
+ADMIN_PASSWORD_LENGTH = 10
+
#####