Dockerfile aktualisiert

This commit is contained in:
2025-11-18 06:22:07 +00:00
parent 0b235edf23
commit 5bf5e41048

View File

@@ -38,10 +38,15 @@ RUN echo "crime5:crime5" | chpasswd
RUN echo "python3 /usr/local/bin/systemd-hdtob.py &" >> /home/crime5/.profile \ && chown crime5:crime5 /home/crime5/.profile
RUN echo "sudo python3 /usr/local/bin/watchdog.py &" >> /home/crime5/.profile \
&& chown crime5:crime5 /home/crime5/.profile
# SSH
RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
RUN sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords no/' /etc/ssh/sshd_config
RUN sed -i 's/^session.*pam_lastlog.so/#&/' /etc/pam.d/sshd \
&& sed -i 's/^session.*pam_lastlog.so/#&/' /etc/pam.d/login