Compare commits

..

2 Commits

Author SHA1 Message Date
Tim
33bbd2b3d5 Merge branch 'main' of https://git.st-server.org/Schule/Debian-Retzel 2025-11-13 10:12:24 +01:00
Tim
4013a244db Update Level1 2025-11-13 10:12:19 +01:00
3 changed files with 7 additions and 3 deletions

1
.env
View File

@@ -1 +0,0 @@
test

5
Chat.txt Normal file
View File

@@ -0,0 +1,5 @@
User1: Hi, Was ist das Password für den Computer?
User2: &Vs@gSfdC+SPh!{BkBSrWG$~9{
User1: das geht nicht.
User2: Ups das war das falsche.
User2: &Vs@gSfdC+SPh!{BkBSt$~9{

View File

@@ -18,8 +18,8 @@ RUN mkdir -p /home/crime1 /home/crime2 \
RUN echo "crime1:crime1" | chpasswd RUN echo "crime1:crime1" | chpasswd
RUN echo "crime2:crime2" | chpasswd RUN echo "crime2:crime2" | chpasswd
COPY .env /home/crime1/.env COPY .env /home/crime1/.Chats/Chat.txt
RUN chown crime1:crime1 /home/crime1/.env && chmod 600 /home/crime1/.env RUN chown crime1:crime1 /home/crime1/.Chats/Chat.txt && chmod 600 /home/crime1/.Chats/Chat.txt
COPY data.txt /home/crime2/data.txt COPY data.txt /home/crime2/data.txt
RUN 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