diff options
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst index cab39d9b2..b641769ba 100644 --- a/debian/postinst +++ b/debian/postinst | |||
@@ -68,6 +68,7 @@ create_sshdconfig() { | |||
68 | cp -a /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-old | 68 | cp -a /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-old |
69 | perl -pe 's/^(PAMAuthenticationViaKbdInt|RhostsAuthentication)\b/#$1/i' \ | 69 | perl -pe 's/^(PAMAuthenticationViaKbdInt|RhostsAuthentication)\b/#$1/i' \ |
70 | /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new | 70 | /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new |
71 | echo >> /etc/ssh/sshd_config.dpkg-new | ||
71 | echo 'UsePAM yes' >> /etc/ssh/sshd_config.dpkg-new | 72 | echo 'UsePAM yes' >> /etc/ssh/sshd_config.dpkg-new |
72 | mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config | 73 | mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config |
73 | echo | 74 | echo |