summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbfox <bfox>2000-10-09 18:51:12 +0000
committerbfox <bfox>2000-10-09 18:51:12 +0000
commitabfa5ce46c51144aec836637c7856fc2d45c725d (patch)
tree1f1ed7561bf2c107780d970ef02581a60ded15f3
parentcbadc5854aeb6a983150d78ddb34a52a177e3cb7 (diff)
downloadanaconda-abfa5ce46c51144aec836637c7856fc2d45c725d.tar.gz
anaconda-abfa5ce46c51144aec836637c7856fc2d45c725d.tar.xz
anaconda-abfa5ce46c51144aec836637c7856fc2d45c725d.zip
anaconda now requires user passwords to be at least six characters in length. This will improve overall system security.
-rw-r--r--iw/account_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 6ff834eef..808b2e39b 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -51,7 +51,7 @@ class AccountWindow (InstallWindow):
if (password1 and password1 == password2 and
self.userAccountMatch.search(accountName) and
- len(accountName) <= 8) and accountName != "root":
+ len(accountName) <= 8 and len(password1) > 5) and accountName != "root":
valid = 1
self.userPwLabel.set_text(_("User password accepted."))
else: