As of Ubuntu 14.04,  SSHD doesn't allow for locked accounts (as git is)

Given that it executes a shell script, or uses keys deleting the password
unlocks the account and that works it was a quick fix.

Now in retrospective, this seems to be another change in the default SSHD
config as of 14.04 as per the permission denied issue for the docker-ubuntu
image (disabling PAM might not be necessary).

On Wednesday, May 7, 2014, Sameer Naik <notifications@github.com> wrote:

> In Dockerfile:
>
> > @@ -20,7 +20,7 @@ RUN /app/setup/install
> >
> >  ADD assets/config/ /app/setup/config/
> >  ADD assets/init /app/init
> > -RUN chmod 755 /app/init
> > +RUN chmod 755 /app/init && passwd -d git
>
> @arnos <https://github.com/arnos> can you tell me why passwd -d git is
> being done?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sameersbn/docker-gitlab/pull/56/files#r12391847>
> .
>