View | Details | Raw Unified | Return to bug 123422
Collapse All | Expand All

(-)chapter.sgml (-8 / +8 lines)
Lines 864-870 Link Here
864
864
865
	<para>The <filename>/etc/ttys</filename> file lists all of the ports
865
	<para>The <filename>/etc/ttys</filename> file lists all of the ports
866
	  on your FreeBSD system where you want to allow logins.  For example,
866
	  on your FreeBSD system where you want to allow logins.  For example,
867
	  the first virtual console <filename>ttyv0</filename> has an entry in
867
	  the first virtual console <devicename>ttyv0</devicename> has an entry in
868
	  this file.  You can log in on the console using this entry.  This
868
	  this file.  You can log in on the console using this entry.  This
869
	  file also contains entries for the other virtual consoles, serial ports,
869
	  file also contains entries for the other virtual consoles, serial ports,
870
	  and pseudo-ttys.  For a hardwired terminal, just list the serial
870
	  and pseudo-ttys.  For a hardwired terminal, just list the serial
Lines 875-882 Link Here
875
875
876
	<para>A default FreeBSD install includes an
876
	<para>A default FreeBSD install includes an
877
	  <filename>/etc/ttys</filename> file with support for the first
877
	  <filename>/etc/ttys</filename> file with support for the first
878
	  four serial ports: <filename>ttyd0</filename> through
878
	  four serial ports: <devicename>ttyd0</devicename> through
879
	  <filename>ttyd3</filename>.  If you are attaching a terminal
879
	  <devicename>ttyd3</devicename>.  If you are attaching a terminal
880
	  to one of those ports, you do not need to add another entry.</para>
880
	  to one of those ports, you do not need to add another entry.</para>
881
881
882
	<example id="ex-etc-ttys">
882
	<example id="ex-etc-ttys">
Lines 1054-1060 Link Here
1054
	<para>You should see an entry for the terminal.  For
1054
	<para>You should see an entry for the terminal.  For
1055
	  example, the following display shows that a
1055
	  example, the following display shows that a
1056
	  <command>getty</command> is running on the second serial
1056
	  <command>getty</command> is running on the second serial
1057
	  port <literal>ttyd1</literal> and is using the
1057
	  port <devicename>ttyd1</devicename> and is using the
1058
	  <literal>std.38400</literal> entry in
1058
	  <literal>std.38400</literal> entry in
1059
	  <filename>/etc/gettytab</filename>:</para>
1059
	  <filename>/etc/gettytab</filename>:</para>
1060
1060
Lines 1443-1449 Link Here
1443
	<programlisting>ttyd0   "/usr/libexec/getty <replaceable>xxx</replaceable>"   dialup on</programlisting>
1443
	<programlisting>ttyd0   "/usr/libexec/getty <replaceable>xxx</replaceable>"   dialup on</programlisting>
1444
1444
1445
	<para>The first item in the above line is the device special file for
1445
	<para>The first item in the above line is the device special file for
1446
	  this entry &mdash; <literal>ttyd0</literal> means
1446
	  this entry &mdash; <devicename>ttyd0</devicename> means
1447
	  <filename>/dev/ttyd0</filename> is the file that this
1447
	  <filename>/dev/ttyd0</filename> is the file that this
1448
	  <command>getty</command> will be watching.  The second item,
1448
	  <command>getty</command> will be watching.  The second item,
1449
	  <literal>"/usr/libexec/getty
1449
	  <literal>"/usr/libexec/getty
Lines 1726-1732 Link Here
1726
1726
1727
	<para>If you do not see any <command>getty</command> processes waiting
1727
	<para>If you do not see any <command>getty</command> processes waiting
1728
	  to open the desired
1728
	  to open the desired
1729
	  <filename>ttyd<replaceable>N</replaceable></filename> port,
1729
	  <devicename>ttyd<replaceable>N</replaceable></devicename> port,
1730
	  double-check your entries in <filename>/etc/ttys</filename> to see
1730
	  double-check your entries in <filename>/etc/ttys</filename> to see
1731
	  if there are any mistakes there.  Also, check the log file
1731
	  if there are any mistakes there.  Also, check the log file
1732
	  <filename>/var/log/messages</filename> to see if there are any log
1732
	  <filename>/var/log/messages</filename> to see if there are any log
Lines 2151-2157 Link Here
2151
	  <para>Edit <filename>/etc/ttys</filename> and change
2151
	  <para>Edit <filename>/etc/ttys</filename> and change
2152
	    <literal>off</literal> to <literal>on</literal> and
2152
	    <literal>off</literal> to <literal>on</literal> and
2153
	    <literal>dialup</literal> to <literal>vt100</literal> for the
2153
	    <literal>dialup</literal> to <literal>vt100</literal> for the
2154
	    <literal>ttyd0</literal> entry.  Otherwise a password will not be
2154
	    <devicename>ttyd0</devicename> entry.  Otherwise a password will not be
2155
	    required to connect via the serial console, resulting in a
2155
	    required to connect via the serial console, resulting in a
2156
	    potential security hole.</para>
2156
	    potential security hole.</para>
2157
	</step>
2157
	</step>
Lines 2771-2777 Link Here
2771
ttyd2 "/usr/libexec/getty std.9600" unknown off secure
2771
ttyd2 "/usr/libexec/getty std.9600" unknown off secure
2772
ttyd3 "/usr/libexec/getty std.9600" unknown off secure</programlisting>
2772
ttyd3 "/usr/libexec/getty std.9600" unknown off secure</programlisting>
2773
2773
2774
	<para><literal>ttyd0</literal> through <literal>ttyd3</literal>
2774
	<para><devicename>ttyd0</devicename> through <devicename>ttyd3</devicename>
2775
	  corresponds to <devicename>COM1</devicename> through
2775
	  corresponds to <devicename>COM1</devicename> through
2776
	  <devicename>COM4</devicename>.  Change <literal>off</literal> to
2776
	  <devicename>COM4</devicename>.  Change <literal>off</literal> to
2777
	  <literal>on</literal> for the desired port.  If you have changed the
2777
	  <literal>on</literal> for the desired port.  If you have changed the

Return to bug 123422