File: systemd-getty-generator.html

package info (click to toggle)
systemd 215-17
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 49,568 kB
  • sloc: ansic: 192,789; xml: 39,586; sh: 13,002; makefile: 4,700; perl: 1,461; python: 1,355
file content (52 lines) | stat: -rw-r--r-- 4,228 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<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 215</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="idm214186861600"></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="idm214190115808"></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="agetty.html"><span class="citerefentry"><span class="refentrytitle">agetty</span>(8)</span></a>
                </p></div></div></body></html>