{
    "mode": "info",
    "parameter": "SYSTEMD-GETTY-GENERATOR",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/SYSTEMD-GETTY-GENERATOR/json",
    "generated": "2026-07-05T11:54:36Z",
    "synopsis": "/lib/systemd/system-generators/systemd-getty-generator",
    "sections": {
        "NAME": {
            "content": "systemd-getty-generator - Generator for enabling getty instances on the\nconsole\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "/lib/systemd/system-generators/systemd-getty-generator\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "systemd-getty-generator is a generator that automatically instantiates\nserial-getty@.service on the kernel console(s), if they can function as\nttys and are not provided by the virtual console subsystem. It will\nalso instantiate serial-getty@.service instances for virtualizer\nconsoles, if execution in a virtualized environment is detected. If\nexecution in a container environment is detected, it will instead\nenable console-getty.service for /dev/console, and\ncontainer-getty@.service instances for additional container pseudo TTYs\nas requested by the container manager (see Container Interface[1]).\nThis should ensure that the user is shown a login prompt at the right\nplace, regardless of which environment the system is started in. For\nexample, it is sufficient to redirect the kernel console with a kernel\ncommand line argument such as console= to get both kernel messages and\na getty prompt on a serial TTY. See kernel-parameters.txt[2] for more\ninformation on the console= kernel parameter.\n\nsystemd-getty-generator implements systemd.generator(7).\n\nFurther information about configuration of gettys can be found in\nsystemd for Administrators, Part XVI: Gettys on Serial Consoles (and\nElsewhere)[3].\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "systemd(1), agetty(8)\n",
            "subsections": []
        },
        "NOTES": {
            "content": "1. Container\nInterface\nhttps://systemd.io/CONTAINERINTERFACE\n\n2. kernel-parameters.txt\nhttps://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt\n\n3. systemd for Administrators, Part XVI: Gettys on Serial Consoles\n(and Elsewhere)\nhttp://0pointer.de/blog/projects/serial-console.html\n\nsystemd 249                                         SYSTEMD-GETTY-GENERATOR(8)",
            "subsections": []
        }
    },
    "summary": "systemd-getty-generator - Generator for enabling getty instances on the console",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "systemd",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
        },
        {
            "name": "agetty",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/agetty/8/json"
        }
    ]
}