summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xminiprokit.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/miniprokit.sh b/miniprokit.sh
index 171a475..ece77e5 100755
--- a/miniprokit.sh
+++ b/miniprokit.sh
@@ -299,6 +299,8 @@ configure()
printf '%s' "${INSTALL_SERVICE}" >"${root}/etc/rc.d/S10install"
chmod 0755 "${root}/etc/rc.d/S10install"
printf 'proteanos\n' >"${root}/etc/hostname"
+ [ -e "${root}/etc/passwd" ] || printf \
+ 'root::0:0:root:/root:/bin/sh\n' >"${root}/etc/passwd"
fi
}