Use live-config autologin for bee user
This commit is contained in:
@@ -23,6 +23,6 @@ lb config noauto \
|
||||
--memtest none \
|
||||
--iso-volume "BEE-DEBUG" \
|
||||
--iso-application "Bee Hardware Audit" \
|
||||
--bootappend-live "boot=live components console=tty0 console=ttyS0,115200n8 modprobe.blacklist=nouveau" \
|
||||
--bootappend-live "boot=live components console=tty0 console=ttyS0,115200n8 username=bee user-fullname=Bee modprobe.blacklist=nouveau" \
|
||||
--apt-recommends false \
|
||||
"${@}"
|
||||
|
||||
@@ -28,4 +28,8 @@ udevadm control --reload-rules 2>/dev/null || true
|
||||
# Create log directory
|
||||
mkdir -p /var/log
|
||||
|
||||
if [ -f /etc/sudoers.d/bee ]; then
|
||||
chmod 0440 /etc/sudoers.d/bee
|
||||
fi
|
||||
|
||||
echo "=== bee chroot setup complete ==="
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=-/sbin/agetty --autologin root --noclear %I $TERM
|
||||
@@ -22,6 +22,7 @@ lsof
|
||||
file
|
||||
less
|
||||
vim-tiny
|
||||
sudo
|
||||
zstd
|
||||
|
||||
# QR codes (for displaying audit results)
|
||||
|
||||
1
iso/overlay/etc/sudoers.d/bee
Normal file
1
iso/overlay/etc/sudoers.d/bee
Normal file
@@ -0,0 +1 @@
|
||||
bee ALL=(ALL) NOPASSWD: ALL
|
||||
Reference in New Issue
Block a user