Darryl L. Pierce
2009-Jan-26 18:27 UTC
[Ovirt-devel] [PATCH node-image] BZ#481488 Disables the root account until a password is set.
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
Alan Pevec
2009-Jan-26 20:28 UTC
[Ovirt-devel] [PATCH node-image] BZ#481488 Disables the root account until a password is set.
> +# By default, lock the root account. It is only unlocked after the > +# root password is set in the ovirt-config-password script. > +usermod -L rootpasswd -l root and you don't the other patch to unlock