aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-baseimage
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-12-05 18:53:20 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 15:22:09 +0100
commit18bce26ea663dfd20efe8505c36a5537979a7c8d (patch)
treec014209064cfaa6ff62b9c77839782bbab7d5372 /testing/scripts/build-baseimage
parentbeff82dd98c20570daf166b39cadcdf76a661e57 (diff)
downloadstrongswan-18bce26ea663dfd20efe8505c36a5537979a7c8d.tar.bz2
strongswan-18bce26ea663dfd20efe8505c36a5537979a7c8d.tar.xz
Use key(and password-)less SSH authentication
Diffstat (limited to 'testing/scripts/build-baseimage')
-rwxr-xr-xtesting/scripts/build-baseimage4
1 files changed, 2 insertions, 2 deletions
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