Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Disable SSH root login, avoid potential failures with SSH keys left w…
Browse files Browse the repository at this point in the history
…here they should not be
  • Loading branch information
LeSuisse committed Feb 16, 2017
1 parent 83958df commit a270447
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ RUN sed -i '/session required pam_loginuid.so/c\#session required
tuleap-documentation \
tuleap-customization-default \
tuleap-api-explorer && \
yum clean all
yum clean all && \
sed -i 's/#PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config

COPY supervisord.conf /etc/supervisord.conf

Expand Down

0 comments on commit a270447

Please sign in to comment.