diff --git a/containers/Docker/centos-8 b/containers/Docker/centos-8 index f1fe0f65..da6fc27f 100644 --- a/containers/Docker/centos-8 +++ b/containers/Docker/centos-8 @@ -24,14 +24,29 @@ RUN dnf install -y --allowerasing coreutils \ which \ words -# These changes make it possible for users to ssh into nodes even -# if there is no shadow entry for the user -RUN sed -i -e '/^account.*pam_unix\.so\s*$/s/\s*$/\ broken_shadow/' /etc/pam.d/system-auth -RUN sed -i -e '/^account.*pam_unix\.so\s*$/s/\s*$/\ broken_shadow/' /etc/pam.d/password-auth +RUN <