From ac261826efb94fd9551038d01c1c171ef1af7942 Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Mon, 26 Nov 2018 20:36:16 +0200 Subject: [PATCH] set root pw hash to empty string for installer this makes the login work in system maintenance mode, helping with debugging --- build_iso.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_iso.sh b/build_iso.sh index 438d195..0ea289d 100755 --- a/build_iso.sh +++ b/build_iso.sh @@ -134,6 +134,8 @@ export PATH=/usr/bin:/usr/sbin:/sbin export HOME=/root EOF +sed -i '' -e 's%^root:NP:%root::%' $MNT/etc/shadow + # Refresh the devices on the miniroot. devfsadm -r $MNT -- 2.11.4.GIT