[debian12] fix: permit root login

This commit is contained in:
Simon Cornet 2024-07-15 17:31:44 +02:00
parent c934273f44
commit f3f2083e35

View File

@ -62,4 +62,5 @@ d-i finish-install/reboot_in_progress note
d-i cdrom-detect/eject boolean true d-i cdrom-detect/eject boolean true
# remove installation-report # remove installation-report
d-i preseed/late_command string in-target apt-get -y purge installation-report d-i preseed/late_command string in-target apt-get -y purge installation-report; \
sed -i 's/#\?\(PermitRootLogin\s*\).*$/\1 yes/' /etc/ssh/sshd_config