summaryrefslogtreecommitdiff
path: root/build-chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-chroot.sh')
-rwxr-xr-xbuild-chroot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-chroot.sh b/build-chroot.sh
index 5331048..1bb3750 100755
--- a/build-chroot.sh
+++ b/build-chroot.sh
@@ -491,6 +491,10 @@ sed -i "s/^-e//" local/capnames.h
make -j $THREADS install
cd ..
+# User/Group Generation
+echo "root:x:0:0::/home/root:/bin/zsh" > /etc/passwd
+echo "root:x:0:root" > /etc/group
+
# Finally, make the image bootable.
cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/