From 20b653d974a43d277e87a971eeaed22cf22d9811 Mon Sep 17 00:00:00 2001 From: tranch Date: Wed, 29 Jul 2026 00:48:06 +0800 Subject: Fix weak password handling in Live installer Keep the Live CD account locked and enforce strict user/root password validation so weak passwords remain on the form instead of aborting the Anaconda installation. --- installer/lorax_templates/remove_root_password_prompt.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/lorax_templates/remove_root_password_prompt.tmpl b/installer/lorax_templates/remove_root_password_prompt.tmpl index 3bd0342..5e5b60d 100644 --- a/installer/lorax_templates/remove_root_password_prompt.tmpl +++ b/installer/lorax_templates/remove_root_password_prompt.tmpl @@ -1 +1 @@ -append etc/anaconda/profile.d/fedora-kinoite.conf "\\n[User Interface]\\nhidden_spokes =\\n PasswordSpoke" +append etc/anaconda/profile.d/fedora-kinoite.conf "\\n[User Interface]\\nhidden_spokes =\\n PasswordSpoke\\npassword_policies =\\n root (quality 1, length 6, strict)\\n user (quality 1, length 6, empty, strict)\\n luks (quality 1, length 6)" -- cgit v1.2.3