Commit 34b64fec authored by Konstantin Pavlov's avatar Konstantin Pavlov

zesty: disable pam_authtok.

parent dd5822fd
......@@ -6,6 +6,7 @@ RUN apt-get update && \
apt-get install -y openssh-server openjdk-8-jdk lftp ca-certificates && \
apt-get clean -y && rm -rf /var/lib/apt/lists/* && \
sed -i 's|session required pam_loginuid.so|session optional pam_loginuid.so|g' /etc/pam.d/sshd && \
sed -i 's,use_authtok ,,' /etc/pam.d/common-password && \
mkdir -p /var/run/sshd && \
adduser --quiet jenkins && \
echo "jenkins:jenkins" | chpasswd
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment