From 0b964e71baf2f648ec150259bb531537126dce2c Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Fri, 30 May 2014 16:53:53 +0000 Subject: Enable a login console on ttyu0 by default if it is a serial console. This prevents surprising effects post-installation on serial-only x86 systems (e.g. bhyve) where the kernel messages will appear, rc scripts will run, and then there will be no login prompt and you will be locked out of the system. Thanks to Devin Teske and Peter Grehan for ideas and testing. With this patch, it may also be possible to unify all or most of the machine-specific ttys files. --- etc/etc.i386/ttys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/etc.i386') diff --git a/etc/etc.i386/ttys b/etc/etc.i386/ttys index 42fa7c0..ead05af 100644 --- a/etc/etc.i386/ttys +++ b/etc/etc.i386/ttys @@ -41,7 +41,7 @@ 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" dialup off secure +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 -- cgit v1.1