[Ovirt-devel] [PATCH node-image] BZ#481488 Disables the root account until a password is set.
Darryl L. Pierce
dpierce at redhat.com
Mon Jan 26 18:27:24 UTC 2009
This patch depends on the complementary one in node.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
common-post.ks | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common-post.ks b/common-post.ks
index 05e2578..b38ad24 100644
--- a/common-post.ks
+++ b/common-post.ks
@@ -86,3 +86,7 @@ sed -i '/rm -f.*${interface}/d' $DHSCRIPT
sed -i '/rm -f \/etc\/localtime/d' $DHSCRIPT
sed -i '/rm -f \/etc\/ntp.conf/d' $DHSCRIPT
sed -i '/rm -f \/etc\/yp.conf/d' $DHSCRIPT
+
+# By default, lock the root account. It is only unlocked after the
+# root password is set in the ovirt-config-password script.
+usermod -L root
--
1.6.0.6
More information about the ovirt-devel
mailing list