[debian12] fix: permit root login

This commit is contained in:
Simon Cornet 2024-07-15 17:42:03 +02:00
parent f3f2083e35
commit 2a5bfe2f71

View File

@ -63,4 +63,4 @@ 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 sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /target/etc/ssh/sshd_config;