From 79b0d6bdc321ef88a754093975aab89d07718451 Mon Sep 17 00:00:00 2001 From: miro Date: Tue, 26 Nov 2024 20:18:01 +0000 Subject: [PATCH] :tada: --- build_test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_test.sh b/build_test.sh index f88a086..243c417 100644 --- a/build_test.sh +++ b/build_test.sh @@ -34,6 +34,9 @@ if [ "$USER" != "pi" ]; then echo "$USER:$NEW_HASHED_PASSWORD" > /boot/firmware/userconf.txt chmod 600 /boot/firmware/userconf.txt + echo "Enabling ssh..." + touch /boot/firmware/.ssh + # 7. Add the new user to the sudo group echo "Adding $USER to the sudo group..." sed -i "/^sudo:/s/pi/$USER/" /etc/group