]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-getty-generator.xml
man: fix link markup
[thirdparty/systemd.git] / man / systemd-getty-generator.xml
CommitLineData
f220d83c
LP
1<?xml version="1.0"?>
2<!--*-nxml-*-->
3a54a157
ZJS
3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
0307f791 5<!-- SPDX-License-Identifier: LGPL-2.1+ -->
f220d83c
LP
6<refentry id="systemd-getty-generator">
7
798d3a52
ZJS
8 <refentryinfo>
9 <title>systemd-getty-generator</title>
10 <productname>systemd</productname>
798d3a52 11 </refentryinfo>
f220d83c 12
798d3a52
ZJS
13 <refmeta>
14 <refentrytitle>systemd-getty-generator</refentrytitle>
15 <manvolnum>8</manvolnum>
16 </refmeta>
f220d83c 17
798d3a52
ZJS
18 <refnamediv>
19 <refname>systemd-getty-generator</refname>
20 <refpurpose>Generator for enabling getty instances on the
21 console</refpurpose>
22 </refnamediv>
f220d83c 23
798d3a52 24 <refsynopsisdiv>
12b42c76 25 <para><filename>/usr/lib/systemd/system-generators/systemd-getty-generator</filename></para>
798d3a52 26 </refsynopsisdiv>
f220d83c 27
798d3a52
ZJS
28 <refsect1>
29 <title>Description</title>
f220d83c 30
53dc5fbc
LP
31 <para><filename>systemd-getty-generator</filename> is a generator that automatically instantiates
32 <filename>serial-getty@.service</filename> on the kernel console(s), if they can function as ttys and are
33 not provided by the virtual console subsystem. It will also instantiate
34 <filename>serial-getty@.service</filename> instances for virtualizer consoles, if execution in a
35 virtualized environment is detected. If execution in a container environment is detected, it will instead
36 enable <filename>console-getty.service</filename> for <filename>/dev/console</filename>, and
37 <filename>container-getty@.service</filename> instances for additional container pseudo TTYs as requested
38 by the container manager (see <ulink url="https://systemd.io/CONTAINER_INTERFACE"><filename>Container
39 Interface</filename></ulink>). This should ensure that the user is shown a login prompt at the right
40 place, regardless of which environment the system is started in. For example, it is sufficient to
41 redirect the kernel console with a kernel command line argument such as <varname>console=</varname> to
42 get both kernel messages and a getty prompt on a serial TTY. See <ulink
3c887f97 43 url="https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt"><filename>kernel-parameters.txt</filename></ulink>
53dc5fbc 44 for more information on the <varname>console=</varname> kernel parameter.</para>
f220d83c 45
b1c1a519
ZC
46 <para><filename>systemd-getty-generator</filename> implements
47 <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
00addadd 48
8522ee79
AJ
49 <para>Further information about configuration of gettys can be
50 found in
798d3a52
ZJS
51 <ulink url="http://0pointer.de/blog/projects/serial-console.html">systemd
52 for Administrators, Part XVI: Gettys on Serial Consoles (and
53 Elsewhere)</ulink>.</para>
54 </refsect1>
f220d83c 55
798d3a52
ZJS
56 <refsect1>
57 <title>See Also</title>
58 <para>
59 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
60 <citerefentry project='man-pages'><refentrytitle>agetty</refentrytitle><manvolnum>8</manvolnum></citerefentry>
61 </para>
62 </refsect1>
f220d83c
LP
63
64</refentry>