[f22-branch 6/7] Set the default password policy for Anaconda
bcl
installerbot-noreply at redhat.com
Tue Mar 17 23:09:20 UTC 2015
From: "Brian C. Lane" <bcl at redhat.com>
This can be overridden by using a kickstart, or by replacing the
/usr/share/anaconda/interactive-defaults.ks file on the boot media.
---
data/interactive-defaults.ks | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/data/interactive-defaults.ks b/data/interactive-defaults.ks
index f692ccd..3a5f2d0 100644
--- a/data/interactive-defaults.ks
+++ b/data/interactive-defaults.ks
@@ -2,3 +2,8 @@
# This is not loaded if a kickstart file is provided on the command line.
auth --enableshadow --passalgo=sha512
firstboot --enable
+
+# Default password policies
+pwpolicy root --strict --minlen=8 --minquality=50 --changesok --notempty
+pwpolicy user --strict --minlen=8 --minquality=50 --changesok --emptyok
+pwpolicy luks --strict --minlen=10
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/56d1ff344348f35199585a459e685686fca60073
More information about the anaconda-patches
mailing list