diff options
author | hydrajump <wave@hydrajump.com> | 2014-04-02 21:17:22 +0200 |
---|---|---|
committer | hydrajump <wave@hydrajump.com> | 2014-04-02 21:17:22 +0200 |
commit | 5f5d4ff3b29c40d8d0c86e6eaac2820183daf89b (patch) | |
tree | 95972769d31123ef77ebc1dc1c3439b7d95968a7 /debian/vyatta-cfg-system.postinst.in | |
parent | 3b64999fe118407c4645406e3264d70ae7c08d94 (diff) | |
download | vyatta-cfg-system-5f5d4ff3b29c40d8d0c86e6eaac2820183daf89b.tar.gz vyatta-cfg-system-5f5d4ff3b29c40d8d0c86e6eaac2820183daf89b.zip |
Delete SSH blacklists as they are no longer needed
The SSH blacklists were committed 5 years ago and the
original contributor does not recall why they were added.
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rwxr-xr-x | debian/vyatta-cfg-system.postinst.in | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index cf9eecdb..735b49ff 100755 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -76,20 +76,6 @@ if [ "$sysconfdir" != "/etc" ]; then cp $sysconfdir/sudoers /etc/sudoers.d/vyatta chmod 0440 /etc/sudoers.d/vyatta - # set up blacklists - for f in blacklist.DSA-1024 blacklist.RSA-2048; do - if [ -r "/etc/ssh/$f" ]; then - l=$(head -1 $sysconfdir/$f) - if ! grep -q "$l" /etc/ssh/$f; then - tmp=$(mktemp /tmp/bl.XXXXXXXXXX) - cat /etc/ssh/$f $sysconfdir/$f | sort >$tmp - mv $tmp /etc/ssh/$f - fi - else - cp $sysconfdir/$f /etc/ssh/$f - fi - done - # purge off ancient devfs stuff from /etc/securetty cp $sysconfdir/securetty /etc/securetty |