diff options
-rw-r--r-- | debian/postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst index 02fda6c1e..9d34d6ad4 100644 --- a/debian/postinst +++ b/debian/postinst | |||
@@ -139,6 +139,10 @@ create_sshdconfig() { | |||
139 | /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new | 139 | /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new |
140 | echo >> /etc/ssh/sshd_config.dpkg-new | 140 | echo >> /etc/ssh/sshd_config.dpkg-new |
141 | echo 'UsePAM yes' >> /etc/ssh/sshd_config.dpkg-new | 141 | echo 'UsePAM yes' >> /etc/ssh/sshd_config.dpkg-new |
142 | chown --reference /etc/ssh/sshd_config \ | ||
143 | /etc/ssh/sshd_config.dpkg-new | ||
144 | chmod --reference /etc/ssh/sshd_config \ | ||
145 | /etc/ssh/sshd_config.dpkg-new | ||
142 | mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config | 146 | mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config |
143 | echo | 147 | echo |
144 | fi | 148 | fi |