Ubuntu 14.04 preseed with permit root login

Jul 31, 2015 10:16

Разрешаем вход руту по паролю (чтобы, например, потом загнать шефа бутстрапом)

# 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

ssh, login, ubuntu, root, preseed

Previous post Next post
Up