]> git.proxmox.com Git - systemd.git/blob - man/systemd-getty-generator.8
Imported Upstream version 219
[systemd.git] / man / systemd-getty-generator.8
1 '\" t
2 .TH "SYSTEMD\-GETTY\-GENERATOR" "8" "" "systemd 219" "systemd-getty-generator"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 .ie \n(.g .ds Aq \(aq
11 .el .ds Aq '
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
16 .nh
17 .\" disable justification (adjust text to left margin only)
18 .ad l
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
22 .SH "NAME"
23 systemd-getty-generator \- Generator for enabling getty instances on the console
24 .SH "SYNOPSIS"
25 .PP
26 /usr/lib/systemd/system\-generators/systemd\-getty\-generator
27 .SH "DESCRIPTION"
28 .PP
29 systemd\-getty\-generator
30 is a generator that automatically instantiates
31 serial\-getty@\&.service
32 on the kernel console
33 /dev/console
34 if that is not directed to the virtual console subsystem\&. It will also instantiate
35 serial\-getty@\&.service
36 instances for virtualizer consoles, if execution in a virtualized environment is detected\&. Finally, it will instantiate
37 container\-getty@\&.service
38 instances for additional container pseudo TTYs as requested by the container manager (see
39 \m[blue]\fBContainer Interface\fR\m[]\&\s-2\u[1]\d\s+2)\&. 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
40 \fIconsole=\fR
41 to get both kernel messages and a getty prompt on a serial TTY\&. See
42 \m[blue]\fBkernel\-parameters\&.txt\fR\m[]\&\s-2\u[2]\d\s+2
43 for more information on the
44 \fIconsole=\fR
45 kernel parameter\&.
46 .PP
47 systemd\-getty\-generator
48 implements the
49 \m[blue]\fBgenerator specification\fR\m[]\&\s-2\u[3]\d\s+2\&.
50 .PP
51 Further information about configuration of gettys you may find in
52 \m[blue]\fBsystemd for Administrators, Part XVI: Gettys on Serial Consoles (and Elsewhere)\fR\m[]\&\s-2\u[4]\d\s+2\&.
53 .SH "SEE ALSO"
54 .PP
55 \fBsystemd\fR(1),
56 \fBagetty\fR(8)
57 .SH "NOTES"
58 .IP " 1." 4
59 Container
60 Interface
61 .RS 4
62 \%http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/
63 .RE
64 .IP " 2." 4
65 kernel-parameters.txt
66 .RS 4
67 \%https://www.kernel.org/doc/Documentation/kernel-parameters.txt
68 .RE
69 .IP " 3." 4
70 generator specification
71 .RS 4
72 \%http://www.freedesktop.org/wiki/Software/systemd/Generators
73 .RE
74 .IP " 4." 4
75 systemd for Administrators, Part XVI: Gettys on Serial Consoles (and Elsewhere)
76 .RS 4
77 \%http://0pointer.de/blog/projects/serial-console.html
78 .RE