[Ovirt-devel] [PATCH node-image] leave ssh open for devel builds
Alan Pevec
apevec at redhat.com
Mon Aug 3 20:29:30 UTC 2009
devel builds have empty root password
Bug 513633 - Provide a way of setting the root password for oVirt Node
---
common-post.ks | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common-post.ks b/common-post.ks
index dcd44d6..0c0a3f4 100644
--- a/common-post.ks
+++ b/common-post.ks
@@ -115,6 +115,10 @@ sed -i '/rm -f \/etc\/yp.conf/d' $DHSCRIPT
if rpm -q --qf '%{release}' ovirt-node | grep -q "^0\." ; then
echo "Building in developer mode, leaving root account unlocked"
+ augtool <<\EOF
+set /files/etc/ssh/sshd_config/PermitEmptyPasswords yes
+save
+EOF
else
echo "Building in production mode, locking root account"
passwd -l root
--
1.6.0.6
More information about the ovirt-devel
mailing list