diff --git a/debian/changelog b/debian/changelog index 1e16d669..2090f772 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.767) kinetic; urgency=medium + + * Do not modify /etc/ssh/sshd_config for ubuntu-cpc project + builds. (LP: #1968873) + + -- Thomas Bechtold Tue, 28 Jun 2022 13:29:05 +0200 + livecd-rootfs (2.766) kinetic; urgency=medium * live-build/ubuntu-cpc/hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl: diff --git a/live-build/ubuntu-cpc/hooks.d/chroot/052-ssh_authentication.chroot b/live-build/ubuntu-cpc/hooks.d/chroot/052-ssh_authentication.chroot index 6b0a34ea..0218a85f 100755 --- a/live-build/ubuntu-cpc/hooks.d/chroot/052-ssh_authentication.chroot +++ b/live-build/ubuntu-cpc/hooks.d/chroot/052-ssh_authentication.chroot @@ -1,3 +1,5 @@ #!/bin/bash -sed -i "s|#PasswordAuthentication yes|PasswordAuthentication no|g" /etc/ssh/sshd_config +cat << EOF >> "/etc/ssh/sshd_config.d/10-cloudimg-settings.conf" +PasswordAuthentication no +EOF