diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2014-05-30 16:53:53 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2014-05-30 16:53:53 +0000 |
commit | 0b964e71baf2f648ec150259bb531537126dce2c (patch) | |
tree | ddba87ef8b35a1491d119d72d753dd18f49ffbf3 /etc/etc.i386 | |
parent | ec37c486f60570db831d486452716978c53f9dd8 (diff) | |
download | FreeBSD-src-0b964e71baf2f648ec150259bb531537126dce2c.zip FreeBSD-src-0b964e71baf2f648ec150259bb531537126dce2c.tar.gz |
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.
Diffstat (limited to 'etc/etc.i386')
-rw-r--r-- | etc/etc.i386/ttys | 2 |
1 files changed, 1 insertions, 1 deletions
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 |