Fix
This commit is contained in:
@@ -22,7 +22,7 @@ COPY .env /home/crime1/.env
|
||||
RUN chown crime1:crime1 /home/crime1/.env && chmod 600 /home/crime1/.env
|
||||
|
||||
COPY data.txt /home/crime2/data.txt
|
||||
chown crime2:crime2 /home/crime2/data.txt && chmod 600 /home/crime1/data.txt
|
||||
RUN chown crime2:crime2 /home/crime2/data.txt && chmod 600 /home/crime1/data.txt
|
||||
|
||||
RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
|
||||
RUN sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords no/' /etc/ssh/sshd_config
|
||||
|
||||
Reference in New Issue
Block a user