summaryrefslogtreecommitdiff
path: root/Mailman/SecurityManager.py
diff options
context:
space:
mode:
authorklm1998-03-30 05:16:15 +0000
committerklm1998-03-30 05:16:15 +0000
commitf6df1e533f9a584995f29da2eae5f0accf2863c8 (patch)
tree4b8468747d9fcd039ed2a61c8cefdb23c7fe988d /Mailman/SecurityManager.py
parent0e7ea557e36897b3896eba1fdca52cb2caa9431c (diff)
downloadmailman-f6df1e533f9a584995f29da2eae5f0accf2863c8.tar.gz
mailman-f6df1e533f9a584995f29da2eae5f0accf2863c8.tar.zst
mailman-f6df1e533f9a584995f29da2eae5f0accf2863c8.zip
Diffstat (limited to 'Mailman/SecurityManager.py')
-rw-r--r--Mailman/SecurityManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/SecurityManager.py b/Mailman/SecurityManager.py
index 0202baba9..c8b460bc5 100644
--- a/Mailman/SecurityManager.py
+++ b/Mailman/SecurityManager.py
@@ -3,7 +3,7 @@ import mm_err, mm_utils, mm_cfg
class SecurityManager:
def SetSiteAdminPassword(self, pw):
- old = os.umask(0700)
+ old = os.umask(0022)
f = open(os.path.join(mm_cfg.MAILMAN_DIR, "adm.pw"), "w+")
f.write(crypt.crypt(pw, mm_utils.GetRandomSeed()))
f.close()