[PATCH 1/4] Increase minimum password length to 8

Brian C. Lane bcl at redhat.com
Tue Jan 27 01:33:24 UTC 2015


In order to promote a more secure default installation increse the
password length needed for root and user passwords in the GUI.
---
 pyanaconda/constants.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/constants.py b/pyanaconda/constants.py
index 1aa7f9d..0bd23d3 100644
--- a/pyanaconda/constants.py
+++ b/pyanaconda/constants.py
@@ -134,7 +134,7 @@ FIRSTBOOT_ENVIRON = "firstboot"
 UNSUPPORTED_HW = 1 << 28
 
 # Password validation
-PASSWORD_MIN_LEN = 6
+PASSWORD_MIN_LEN = 8
 PASSWORD_EMPTY_ERROR = N_("The password is empty.")
 PASSWORD_CONFIRM_ERROR_GUI = N_("The passwords do not match.")
 PASSWORD_CONFIRM_ERROR_TUI = N_("The passwords you entered were different.  Please try again.")
-- 
1.9.3



More information about the anaconda-patches mailing list