From 18bce26ea663dfd20efe8505c36a5537979a7c8d Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 5 Dec 2012 18:53:20 +0100 Subject: Use key(and password-)less SSH authentication --- testing/scripts/build-baseimage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/scripts/build-baseimage') diff --git a/testing/scripts/build-baseimage b/testing/scripts/build-baseimage index c26e2462a..4372e54f9 100755 --- a/testing/scripts/build-baseimage +++ b/testing/scripts/build-baseimage @@ -50,8 +50,8 @@ execute "mount -o bind $CACHEDIR $APTCACHE" echo " * Running debootstrap ..." execute "debootstrap --arch=$ROOTFSARCH --include=$PACKAGES $ROOTFSSUITE $LOOPDIR $ROOTFSMIRROR" -echo " * Setting root password to '$ROOTFSPW' ..." -echo root:$ROOTFSPW | chroot $LOOPDIR chpasswd +echo " * Disabling root password ..." +chroot $LOOPDIR passwd -d root echo " * Disabling services ..." for service in $SERVICES -- cgit v1.2.3