[PATCH 1/4] Increase minimum password length to 8
David Lehman
dlehman at redhat.com
Tue Jan 27 17:50:48 UTC 2015
On 01/26/2015 07:33 PM, Brian C. Lane wrote:
> 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.")
>
I like these a lot. ACK.
More information about the anaconda-patches
mailing list