From 55944e5e40b1be2afc4855d8d2baf4b73d1876b5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:49:52 +0200 Subject: Adding upstream version 255.4. Signed-off-by: Daniel Baumann --- man/systemd-getty-generator.xml | 121 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 man/systemd-getty-generator.xml (limited to 'man/systemd-getty-generator.xml') diff --git a/man/systemd-getty-generator.xml b/man/systemd-getty-generator.xml new file mode 100644 index 0000000..91751c3 --- /dev/null +++ b/man/systemd-getty-generator.xml @@ -0,0 +1,121 @@ + + + + + + + + systemd-getty-generator + systemd + + + + systemd-getty-generator + 8 + + + + systemd-getty-generator + Generator for enabling getty instances on the + console + + + + /usr/lib/systemd/system-generators/systemd-getty-generator + + + + Description + + systemd-getty-generator is a generator that automatically instantiates + serial-getty@.service on the kernel consoles, if they can function as ttys and are + not provided by the virtual console subsystem. It will also instantiate + serial-getty@.service 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 + container-getty@.service instances for additional container pseudo TTYs as requested + by the container manager (see Container + Interface). 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 console= to + get both kernel messages and a getty prompt on a serial TTY. See The kernel's command-line + parameters for more information on the console= kernel parameter. + + systemd-getty-generator implements + systemd.generator7. + + Further information about configuration of gettys can be + found in + systemd + for Administrators, Part XVI: Gettys on Serial Consoles (and + Elsewhere). + + + + Kernel Command Line + + systemd-getty-generator understands the following + kernel-command-line7 + parameters: + + + + systemd.getty_auto= + + this options take an optional boolean argument, and default to yes. + The generator is enabled by default, and a false value may be used to disable it. + + + + + + + + + Environment + + + + $SYSTEMD_GETTY_AUTO + + This variable takes an optional boolean argument, and default to yes. + The generator is enabled by default, and a false value may be used to disable it. + + + + + + + + + System Credentials + + + + getty.ttys.serial + getty.ttys.container + + These system credentials may be used to spawn additional login prompts on selected + TTYs. The two credentials should contain a newline-separated list of TTY names to spawn instances of + serial-getty@.service (in case of getty.ttys.serial) and + container-getty@.service (in case of getty.ttys.container) + on. + + + + + + + + See Also + + systemd1, + kernel-command-line7, + systemd.system-credentials7, + agetty8 + + + + -- cgit v1.2.3