[Ovirt-devel] [PATCH node-image] leave ssh open for devel builds

Jason Guiditta jguiditt at redhat.com
Mon Aug 3 22:08:07 UTC 2009


On Mon, 2009-08-03 at 22:29 +0200, Alan Pevec wrote:
> 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
ACK, logged in as root/no pw w/o issue




More information about the ovirt-devel mailing list