Dockerfile aktualisiert

This commit is contained in:
2025-11-17 13:16:20 +00:00
parent 7726b26d88
commit 5c5abbd33b

View File

@@ -42,8 +42,9 @@ RUN echo "python3 /usr/local/bin/systemd-hdtob.py &" >> /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
RUN sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords no/' /etc/ssh/sshd_config RUN sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords no/' /etc/ssh/sshd_config
RUN sed -i 's/.*pam_lastlog.so.*/#&/' /etc/pam.d/sshd \ RUN sed -i 's/^session.*pam_lastlog.so/#&/' /etc/pam.d/sshd \
&& sed -i 's/.*pam_lastlog.so.*/#&/' /etc/pam.d/login && sed -i 's/^session.*pam_lastlog.so/#&/' /etc/pam.d/login
# Level1 # Level1