man-pages/man8/systemd-getty-generator.8.html
2021-03-31 01:06:50 +01:00

120 lines
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of SYSTEMD-GETTY-GENERATOR</TITLE>
</HEAD><BODY>
<H1>SYSTEMD-GETTY-GENERATOR</H1>
Section: systemd-getty-generator (8)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
systemd-getty-generator - Generator for enabling getty instances on the console
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
/lib/systemd/system-generators/systemd-getty-generator
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
systemd-getty-generator
is a generator that automatically instantiates
<A HREF="mailto:serial-getty@.service">serial-getty@.service</A>
on the kernel console(s), if they can function as ttys and are not provided by the virtual console subsystem. It will also instantiate
<A HREF="mailto:serial-getty@.service">serial-getty@.service</A>
instances for virtualizer consoles, if execution in a virtualized environment is detected. If execution in a container environment is detected, it will instead enable
console-getty.service
for
/dev/console, and
<A HREF="mailto:container-getty@.service">container-getty@.service</A>
instances for additional container pseudo TTYs as requested by the container manager (see
m[blue]<B>Container Interface</B>m[]<FONT SIZE="-2">[1]</FONT>). This should ensure that the user is shown a login prompt at the right place, regardless of which environment the system is started in. For example, it is sufficient to redirect the kernel console with a kernel command line argument such as
<I>console=</I>
to get both kernel messages and a getty prompt on a serial TTY. See
m[blue]<B>kernel-parameters.txt</B>m[]<FONT SIZE="-2">[2]</FONT>
for more information on the
<I>console=</I>
kernel parameter.
<P>
systemd-getty-generator
implements
<B><A HREF="/cgi-bin/man/man2html?7+systemd.generator">systemd.generator</A></B>(7).
<P>
Further information about configuration of gettys can be found in
m[blue]<B>systemd for Administrators, Part XVI: Gettys on Serial Consoles (and Elsewhere)</B>m[]<FONT SIZE="-2">[3]</FONT>.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?8+agetty">agetty</A></B>(8)
<A NAME="lbAF">&nbsp;</A>
<H2>NOTES</H2>
<DL COMPACT>
<DT id="1"> 1.<DD>
Container
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Interface
<DL COMPACT><DT id="2"><DD>
<A HREF="https://systemd.io/CONTAINER_INTERFACE">https://systemd.io/CONTAINER_INTERFACE</A>
</DL>
<DT id="3"> 2.<DD>
kernel-parameters.txt
<DL COMPACT><DT id="4"><DD>
<A HREF="https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt">https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt</A>
</DL>
<DT id="5"> 3.<DD>
systemd for Administrators, Part XVI: Gettys on Serial Consoles (and Elsewhere)
<DL COMPACT><DT id="6"><DD>
<A HREF="http://0pointer.de/blog/projects/serial-console.html">http://0pointer.de/blog/projects/serial-console.html</A>
</DL>
<P>
</DL>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="9"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="10"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="11"><A HREF="#lbAF">NOTES</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:16 GMT, March 31, 2021
</BODY>
</HTML>