From ad148ef769b6b80c290a0eb92ab6c0a8609d6455 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 7 Sep 2019 11:56:39 +0200 Subject: [PATCH] rootfs, rootfs-light: replace obsolete passwd --stdin usage with chpasswd --- platforms/rootfs-light/post.inc.sh | 2 +- platforms/rootfs/post.inc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/rootfs-light/post.inc.sh b/platforms/rootfs-light/post.inc.sh index 86d3506..1528f8f 100644 --- a/platforms/rootfs-light/post.inc.sh +++ b/platforms/rootfs-light/post.inc.sh @@ -63,6 +63,6 @@ fi #_EOF # configure default liveuser password -echo "openmamba" | chroot $MOUNTDIR passwd liveuser --stdin +echo "liveuser:openmamba" | chroot $MOUNTDIR chpasswd #prelink diff --git a/platforms/rootfs/post.inc.sh b/platforms/rootfs/post.inc.sh index e04bf31..ef60add 100644 --- a/platforms/rootfs/post.inc.sh +++ b/platforms/rootfs/post.inc.sh @@ -68,6 +68,6 @@ fi #_EOF # configure default liveuser password -echo "openmamba" | chroot $MOUNTDIR passwd liveuser --stdin +echo "liveuser:openmamba" | chroot $MOUNTDIR chpasswd #prelink