mirror of
https://git.proxmox.com/git/systemd
synced 2025-07-16 08:46:35 +00:00
51 lines
3.8 KiB
HTML
51 lines
3.8 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd-getty-generator</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
|
|
a.headerlink {
|
|
color: #c60f0f;
|
|
font-size: 0.8em;
|
|
padding: 0 4px 0 4px;
|
|
text-decoration: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
a.headerlink:hover {
|
|
background-color: #c60f0f;
|
|
color: white;
|
|
}
|
|
|
|
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
|
|
visibility: visible;
|
|
}
|
|
</style><a href="index.html">Index </a>·
|
|
<a href="systemd.directives.html">Directives </a>·
|
|
<a href="../python-systemd/index.html">Python </a>·
|
|
<a href="../libudev/index.html">libudev </a>·
|
|
<a href="../libudev/index.html">gudev </a><span style="float:right">systemd 219</span><hr><div class="refentry"><a name="systemd-getty-generator"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd-getty-generator — Generator for enabling getty instances on the
|
|
console</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">/usr/lib/systemd/system-generators/systemd-getty-generator</code></p></div><div class="refsect1"><a name="idm140594576934560"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p><code class="filename">systemd-getty-generator</code> is a generator
|
|
that automatically instantiates
|
|
<code class="filename">serial-getty@.service</code> on the kernel console
|
|
<code class="filename">/dev/console</code> if that is not directed to the
|
|
virtual console subsystem. It will also instantiate
|
|
<code class="filename">serial-getty@.service</code> instances for
|
|
virtualizer consoles, if execution in a virtualized environment is
|
|
detected. Finally, it will instantiate
|
|
<code class="filename">container-getty@.service</code> instances for
|
|
additional container pseudo TTYs as requested by the container
|
|
manager (see <a class="ulink" href="http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/" target="_top"><code class="filename">Container
|
|
Interface</code></a>). 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 <code class="varname">console=</code> to get both
|
|
kernel messages and a getty prompt on a serial TTY. See <a class="ulink" href="https://www.kernel.org/doc/Documentation/kernel-parameters.txt" target="_top"><code class="filename">kernel-parameters.txt</code></a>
|
|
for more information on the <code class="varname">console=</code> kernel
|
|
parameter.</p><p><code class="filename">systemd-getty-generator</code> implements the
|
|
<a class="ulink" href="http://www.freedesktop.org/wiki/Software/systemd/Generators" target="_top">generator
|
|
specification</a>.</p><p>Further information about configuration of gettys you may
|
|
find in
|
|
<a class="ulink" href="http://0pointer.de/blog/projects/serial-console.html" target="_top">systemd
|
|
for Administrators, Part XVI: Gettys on Serial Consoles (and
|
|
Elsewhere)</a>.</p></div><div class="refsect1"><a name="idm140594576923744"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
|
|
<a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
|
|
<a href="http://man7.org/linux/man-pages/man8/agetty.8.html"><span class="citerefentry"><span class="refentrytitle">agetty</span>(8)</span></a>
|
|
</p></div></div></body></html>
|