Date: Tue, 27 May 2014 17:41:17 -0700 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: freebsd-current@freebsd.org Subject: [Testing request] Enabling x86 serial login terminals Message-ID: <538530AD.3030009@freebsd.org>
index | next in thread | raw e-mail
[-- Attachment #1 --] The attached patch enables login shells on ttyu0 if ttyu0 is a kernel console. It should preserve existing behavior (i.e. have no shell) otherwise. Testing would be appreciated. If no problem reports are received, I will commit this on Friday. Thanks! -Nathan [-- Attachment #2 --] Index: etc/etc.amd64/ttys =================================================================== --- etc/etc.amd64/ttys (revision 266749) +++ etc/etc.amd64/ttys (working copy) @@ -41,7 +41,7 @@ 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" dialup 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 Index: etc/etc.i386/ttys =================================================================== --- etc/etc.i386/ttys (revision 266749) +++ etc/etc.i386/ttys (working copy) @@ -41,7 +41,7 @@ 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" dialup 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 securehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538530AD.3030009>
