From 8a98d52a36692e3e43706233d651846498ea23d8 Mon Sep 17 00:00:00 2001 From: Matthew Faltys Date: Wed, 20 Nov 2019 18:52:22 +0000 Subject: [PATCH] Update user to be nethack --- deps/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 && \