summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-29 00:48:06 +0800
committertranch <tranch.xiao@gmail.com>2026-07-29 00:48:06 +0800
commit20b653d974a43d277e87a971eeaed22cf22d9811 (patch)
tree639f69debcdc37acdb56261695f6755487e51ff7
parentc1f3f42c14e5bbf1c8181d1469ac58f1d9f7ebf3 (diff)
downloadAeroCore-OS-20b653d974a43d277e87a971eeaed22cf22d9811.tar.gz
AeroCore-OS-20b653d974a43d277e87a971eeaed22cf22d9811.zip
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.
-rw-r--r--installer/lorax_templates/remove_root_password_prompt.tmpl2
1 files changed, 1 insertions, 1 deletions
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)"