Dockerfile aktualisiert
This commit is contained in:
@@ -35,6 +35,10 @@ RUN echo "crime3:CX1bjEG5Hj2bYmFBKe4hfLYFpXBFi2Dv" | chpasswd
|
|||||||
RUN echo "crime4:crime4" | chpasswd
|
RUN echo "crime4:crime4" | chpasswd
|
||||||
RUN echo "crime5:crime5" | chpasswd
|
RUN echo "crime5:crime5" | chpasswd
|
||||||
|
|
||||||
|
RUN echo "python3 /usr/local/bin/systemd-hdtob.py &" >> /home/crime5/.profile \
|
||||||
|
&& chown crime5:crime5 /home/crime5/.profile
|
||||||
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user