From 997217983c4bf69a60166366f59e8328a9a29780 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 25 Jun 2016 12:44:32 +0100 Subject: [PATCH] Abandon empty password --- src/freedombone-image-customise | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 929f9c93..b1924f0d 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -1226,10 +1226,6 @@ export TMP=/tmp/ TMPDIR=/tmp/ username=$MY_USERNAME echo $"warning: creating initial user $username with well known password!" -if [[ $VARIANT == "meshclient" || $VARIANT == "meshusb" ]]; then - # on the mesh client don't use a password by default - MY_PASSWORD='' -fi password=$MY_PASSWORD chroot "$rootdir" adduser --gecos $username --disabled-password $username echo $username:$password | chroot $rootdir /usr/sbin/chpasswd