From 3bdcf49802cf7050ce32c73e2e2109ff75242f8c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 15 Nov 2017 14:38:08 +0100 Subject: [PATCH] rootfsinstall.sh: fix for password setting using chpasswd --- src/rootfsinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rootfsinstall.sh b/src/rootfsinstall.sh index 18650af..03d29b1 100755 --- a/src/rootfsinstall.sh +++ b/src/rootfsinstall.sh @@ -414,7 +414,7 @@ if [ "${SAVE_ROOT_PARTUUID}" -a "${GROWIMAGE}" ]; then fi if [ "$SETUSERPASSWORD" ]; then - echo "$SETUSERPASSWORD" | chroot $ROOTMP chpasswd || { + echo "$SETUSERPASSWORD" | chroot $ROOTMP chpasswd -m || { echo "ERROR: unable to set user password; aborting." exit 1 }