From: David Shea <dshea(a)redhat.com>
Remove the minlen and minquality settings from the default pwpolicy,
and instead pass the buck to libpwquality to determine what is and is
not an acceptable password. Remove strict to allow the user to accept a
bad password.
---
data/interactive-defaults.ks | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/data/interactive-defaults.ks b/data/interactive-defaults.ks
index b73c757..0dd5989 100644
--- a/data/interactive-defaults.ks
+++ b/data/interactive-defaults.ks
@@ -5,7 +5,7 @@ firstboot --enable
%anaconda
# Default password policies
-pwpolicy root --strict --minlen=8 --minquality=50 --nochanges --emptyok
-pwpolicy user --strict --minlen=8 --minquality=50 --nochanges --emptyok
-pwpolicy luks --strict --minlen=8 --minquality=50 --nochanges --emptyok
+pwpolicy root --nochanges --emptyok
+pwpolicy user --nochanges --emptyok
+pwpolicy luks --nochanges --emptyok
%end
--
To view this commit on github, visit
https://github.com/rhinstaller/anaconda/commit/3f2e11a547a2c1cca4f0e311e9...