From: Stephen Soltesz Date: Tue, 9 Dec 2008 23:27:20 +0000 (+0000) Subject: add a site_admin account to the bootcd. passwd value can be changed at image build... X-Git-Tag: BootCD-4.2-8~7 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=992d35fdfe5f15d4fe45fa122427ee146ab42377 add a site_admin account to the bootcd. passwd value can be changed at image build time. --- 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