[debian12] fix: permit root login
This commit is contained in:
parent
f3f2083e35
commit
2a5bfe2f71
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user