diff --git a/Dockerfile b/Dockerfile index eee8dd0..21d1f32 100755 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ RUN useradd guest -m RUN echo "guest" | passwd --stdin guest -RUN echo "/home/guest/what_is_include; exit" > /home/guest/.bashrc -RUN chmod 555 /home/guest/.bashrc +# RUN echo "/home/guest/what_is_include; exit" > /home/guest/.bashrc +# RUN chmod 555 /home/guest/.bashrc ADD ./what_is_include /home/guest/what_is_include ADD ./flag_irjblwgqbd.txt /home/guest/flag_irjblwgqbd.txt @@ -17,6 +17,8 @@ ADD ./flag_irjblwgqbd.txt /home/guest/flag_irjblwgqbd.txt RUN chmod 555 /home/guest/what_is_include RUN chmod 444 /home/guest/flag_irjblwgqbd.txt +RUN chsh -s /home/guest/what_is_include guest + RUN chown root:root /home/guest RUN chmod 2555 /home/guest