From 992d35fdfe5f15d4fe45fa122427ee146ab42377 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Tue, 9 Dec 2008 23:27:20 +0000 Subject: [PATCH] add a site_admin account to the bootcd. passwd value can be changed at image build time. --- prep.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prep.sh b/prep.sh index 68bebcf..da63c48 100755 --- a/prep.sh +++ b/prep.sh @@ -50,6 +50,9 @@ pkgsfile=$(pl_locateDistroFile ../build/ $pldistro bootcd.pkgs) pl_root_mkfedora $bootcd $pldistro $pkgsfile pl_root_tune_image $bootcd +# Add site_admin console account to BootCD: with root priv, and empty passwd +chroot ${bootcd} /usr/sbin/useradd -p "" -o -g 0 -u 0 -m site_admin + # Install ipnmac (for SuperMicro machines with IPMI) echo "* Installing IPMI utilities" install -D -m 755 ipnmac/ipnmac.x86 $bootcd/usr/sbin/ipnmac -- 2.43.0