Dockerfile aktualisiert

This commit is contained in:
2025-11-18 10:54:26 +00:00
parent 8640d56aee
commit 1c3290b957

View File

@@ -37,7 +37,6 @@ RUN echo "crime4:crime4" | chpasswd
RUN echo "crime5:crime5" | 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 "@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 # SSH
RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config 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 mkdir -p /home/crime5/.timer
RUN chown crime5:crime5 /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