diff --git a/operating_systems/fedora/Dockerfile b/operating_systems/fedora/Dockerfile index 4060659..d0a91d6 100644 --- a/operating_systems/fedora/Dockerfile +++ b/operating_systems/fedora/Dockerfile @@ -9,6 +9,7 @@ RUN if [ "$UPDATED" = true ]; then dnf upgrade -y; fi \ && dnf clean all \ && useradd demo \ && echo "demo:demo" | chpasswd \ + && sed -i 's/UsePAM yes/UsePAM no/' /etc/ssh/sshd_config \ && ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N "" \ && ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N "" \ && ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ""