Skip to content

Commit

Permalink
Fix sudo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlk committed Mar 10, 2021
1 parent 59e6197 commit d22254a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 25,8 @@ RUN echo 'password' >> password.txt && \
sed -i 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' /etc/pam.d/sshd && \
echo 'AuthorizedKeysFile .ssh/authorized_keys' >> /etc/ssh/sshd_config && \
echo 'PasswordAuthentication yes' >> /etc/ssh/sshd_config && \
# FIX SUDO BUG: https://github.com/sudo-project/sudo/issues/42
echo "Set disable_coredump false" >> /etc/sudo.conf && \
# Clean up
rm password.txt
# Expose SSH port
Expand Down

0 comments on commit d22254a

Please sign in to comment.