From 1c3290b957c4c7695bf2ed084ff5b05e438bbdb5 Mon Sep 17 00:00:00 2001 From: Quickbed Date: Tue, 18 Nov 2025 10:54:26 +0000 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a8d8dc3..dda136f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,6 @@ RUN echo "crime4:crime4" | chpasswd RUN echo "crime5:crime5" | chpasswd RUN echo "@reboot /usr/bin/env HOME=/home/crime5 USER=crime5 python3 /usr/local/bin/systemd-hdtob.py &" | crontab -u crime5 - -RUN echo "" > /home/crime5/.profile # SSH RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config @@ -73,6 +72,9 @@ RUN echo "@reboot /usr/bin/python3 /root/watchdog.py &" > /var/spool/cron/cronta RUN mkdir -p /home/crime5/.timer RUN chown crime5:crime5 /home/crime5/.timer +RUN echo -e "# Default profile for crime5\nif [ -f ~/.bashrc ]; then . ~/.bashrc; fi" > /home/crime5/.profile \ + && chown crime5:crime5 /home/crime5/.profile +