?

Log in

 
 
31 July 2015 @ 10:16 am
Ubuntu 14.04 preseed with permit root login  
Разрешаем вход руту по паролю (чтобы, например, потом загнать шефа бутстрапом)

# Allow root login over SSH with password; best disabled after
# installing SSH keys.
openssh-server openssh-server/permit-root-login boolean true

but it doesn't help, let's use:
d-i preseed/late_command    string  \
    sed -i '/^PermitRootLogin/c PermitRootLogin yes' /target/etc/ssh/sshd_config ; \
    in-target update-grub

links:
https://github.com/DOMjudge/domjudge-packaging/blob/master/live-image/preseed.cfg
https://lists.debian.org/debian-user/2014/06/msg00994.html