< node-image/common-post.ks >
[...]
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
fi
[...]
</node-image/common-post.ks >

What is the best way to disable the EmptyPasswords on the ovirt-node ? I 
didn't understand where I can redifined the %{release}. I try to put 
_ovirt_devel= 1 in the Makefile.am but it does nothing.


Is it really wanted to add a ssh root access with an empty password ? Some 
weeks ago, the authenticated keys were the only way to log in via ssh, and 
that was fiting my needs... 

Perhaps we can change this behaviour by touching a file 
yes_i_really_want_ssh_root_access_with_empty_pass and make the test on it at 
the place of the minor of revision ?

 

Thanks  

-- 
Pierre-Gilles Mialon
Responsable hébergement :: Head of Hosting services
[email protected] :: +33.1 58 18  65 46
Linagora :: http://www.linagora.com
27 rue de Berri :: 75008 PARIS

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Ovirt-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ovirt-devel

Reply via email to