From 73f6964f22d4702a3f8f53d5dca0ffd3c4ec4fe0 Mon Sep 17 00:00:00 2001 From: udeved Date: Tue, 16 Dec 2014 01:58:16 +0100 Subject: [PATCH] revert chpaddwd changes --- lib/util-livecd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util-livecd.sh b/lib/util-livecd.sh index 8928bae..205444e 100644 --- a/lib/util-livecd.sh +++ b/lib/util-livecd.sh @@ -437,7 +437,7 @@ configure_user(){ configure_user_root(){ # set up root password msg2 "Setting root password ${password} ..." - local _cmd=echo "$(gen_pw):root" + local _cmd=echo "root:$(gen_pw)" msg2 "Command string: $_cmd" chroot-run $1 $_cmd | chpasswd }