From d47ec59d9c8270d6b31987f1417f94762afc7cfc Mon Sep 17 00:00:00 2001 From: gjb Date: Wed, 28 Oct 2015 13:30:14 +0000 Subject: MFC r262957, r267591, r289634: r262957 (marcel): Change the terminal type/class for enabled serial lines to 3wire. This allows us to change the uart(4) driver to not hardcode specific line settings for the serial console. A terminal type of 3wire makes sure the console still works when no DCD signal is present, which preserves behviour. When it is known that the terminal server (or DCE in general) provides DCD, a terminal type/class of std can be used. This has the effect of being logged out when one disconnects from the console -- improving security overall. r267591 (grehan): Convert the potential console port over to using 3wire, for i386/amd64. r289634: Enable all callin ttys if the tty is an available console. Sponsored by: The FreeBSD Foundation --- etc/etc.i386/ttys | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'etc/etc.i386/ttys') diff --git a/etc/etc.i386/ttys b/etc/etc.i386/ttys index ead05af..15eb30d 100644 --- a/etc/etc.i386/ttys +++ b/etc/etc.i386/ttys @@ -41,9 +41,9 @@ ttyv7 "/usr/libexec/getty Pc" xterm on secure ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure # Serial terminals # The 'dialup' keyword identifies dialin lines to login, fingerd etc. -ttyu0 "/usr/libexec/getty std.9600" vt100 onifconsole secure -ttyu1 "/usr/libexec/getty std.9600" dialup off secure -ttyu2 "/usr/libexec/getty std.9600" dialup off secure -ttyu3 "/usr/libexec/getty std.9600" dialup off secure +ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure +ttyu1 "/usr/libexec/getty 3wire" vt100 onifconsole secure +ttyu2 "/usr/libexec/getty 3wire" vt100 onifconsole secure +ttyu3 "/usr/libexec/getty 3wire" vt100 onifconsole secure # Dumb console dcons "/usr/libexec/getty std.9600" vt100 off secure -- cgit v1.1