For Debian Jessie: Substitute RootLogin (for ssh), "without-password" with

"yes". "without-password" is the new default config, more secure, but
can't login if we don't create normal user account.
This commit is contained in:
Jeremy Gardais 2015-04-02 15:22:11 +02:00
parent 4e81eb7b5e
commit 04f81a4fd4
1 changed files with 1 additions and 0 deletions

View File

@ -370,6 +370,7 @@ d-i cdrom-detect/eject boolean false
#in-target wget -O /tmp/finish.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:finish.tar.gz" --no-check-certificate ; \ #in-target wget -O /tmp/finish.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:finish.tar.gz" --no-check-certificate ; \
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
in-target /usr/bin/tftp 129.20.27.239 -c get installer/debian/finish.tar.gz /tmp/finish.tar.gz ; \ in-target /usr/bin/tftp 129.20.27.239 -c get installer/debian/finish.tar.gz /tmp/finish.tar.gz ; \
in-target tar xzf /tmp/finish.tar.gz -C /tmp/ ; \ in-target tar xzf /tmp/finish.tar.gz -C /tmp/ ; \
in-target /bin/sh /tmp/finish/post.sh in-target /bin/sh /tmp/finish/post.sh