From 4422e90dc04cb890e6bd3f9fb8db8e4cd79834ff Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 17 Jan 2020 20:30:34 -0600 Subject: Denys Nykula noticed leftover debris from trying to turn the /etc/passwd HERE document into an echo ala group. (It wasn't easily coerced into 80 columns and having it be multiple echoes was about as ugly as the HERE document, so I undid it again and missed a bit.) --- scripts/mkroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/mkroot.sh b/scripts/mkroot.sh index e27c06b4..d486907e 100755 --- a/scripts/mkroot.sh +++ b/scripts/mkroot.sh @@ -95,7 +95,7 @@ chmod +x "$ROOT"/init && # passwd and group with kernel special accounts (root and nobody) + guest user cat > "$ROOT"/etc/passwd << 'EOF' && -echo -e 'root::0:0:root:/root:/bin/sh +root::0:0:root:/root:/bin/sh guest:x:500:500:guest:/home/guest:/bin/sh nobody:x:65534:65534:nobody:/proc/self:/dev/null EOF -- cgit v1.2.3