summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-16 15:31:49 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-07-17 14:56:04 -0700
commit5ec82316b089d0be4f544937fbd3ed5d3333c829 (patch)
tree9e29e450cbb1cdb392e358f88373c6e227f6f15d /debian
parent3f05a5d8e5fed097dc3ddd3139ae72b4208cdccc (diff)
downloadvyatta-cfg-system-5ec82316b089d0be4f544937fbd3ed5d3333c829.tar.gz
vyatta-cfg-system-5ec82316b089d0be4f544937fbd3ed5d3333c829.zip
Make telnet management smarter
Bug 4591 Consolidate check for telnet login Don't remove /etc/securetty edit it (cherry picked from commit c6c477f2ffb0f2fd4cf12882f22c2c44ab57cc46)
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index a756ba34..38d276ec 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -110,6 +110,8 @@ EOF
# replace debian /etc/ntp.conf with Vyatta version
cp $sysconfdir/ntp.conf /etc/ntp.conf
+ # purge off ancient devfs stuff from /etc/securetty
+ cp $sysconfdir/securetty /etc/securetty
fi
# update crontab for logrotate