diff --git a/deps/Dockerfile b/deps/Dockerfile index d53a964..d48f263 100644 --- a/deps/Dockerfile +++ b/deps/Dockerfile @@ -20,13 +20,13 @@ RUN chmod 777 /bin/nethack RUN mkdir /hack/ # update ssh config -RUN echo "AllowUsers hack" >> /etc/ssh/sshd_config +RUN echo "AllowUsers nethack" >> /etc/ssh/sshd_config RUN echo "PermitEmptyPasswords yes" >> /etc/ssh/sshd_config # add hack user -RUN useradd hack -d / -s /nethack-launcher -RUN echo 'hack:U6aMy0wojraho' | chpasswd -e -RUN chown -R hack /hack/ +RUN useradd nethack -d / -s /nethack-launcher +RUN echo 'nethack:U6aMy0wojraho' | chpasswd -e +RUN chown -R nethack /hack/ # build ttyrec RUN git clone https://github.com/ovh/ovh-ttyrec && \