switch script to root user

This commit is contained in:
nyxerinys 2026-06-30 10:53:39 -05:00
parent 8856797051
commit 2018972aee
2 changed files with 4 additions and 5 deletions

View file

@ -26,9 +26,8 @@ let
KbdInteractiveAuthentication no
PubkeyAuthentication no
# Only allow dev account
PermitRootLogin no
AllowUsers dev
PermitRootLogin yes
AllowUsers root
AllowTcpForwarding yes
X11Forwarding no
@ -59,7 +58,7 @@ pkgs.dockerTools.buildLayeredImage {
ln -sfn /proc/self/mounts ./etc/mtab
cat <<EOF > ./etc/passwd
root:x:0:0:root:/root:/bin/sh
root:x:0:0:root:/root:/bin/bash
dev:x:1000:1000:dev:/home/dev:/bin/bash
EOF