Conversation
The versions of /bin/login usually present in Linux distros are actually security tools; they do not really fit in too well as the login prompt. For instance, the one used in Debian (from shadow-utils), while prompting the user to input a username, terminates if the return key was not pressed for 2 minutes, and does not process /etc/issue at all. agetty itself is a bit overkill, and it would be best for util-linux to provide a stripped-down version for VTs/pseudoterminals which does not care about baudrates and other attributes of hardware terminals and serial connections, but agetty works, so we use it. The "-- -" at the end of the agetty command lines instead of a tty name means "use the pts passed on standard input". Following the principle of least surprise, we more or less match the agetty invocation in [email protected] bundled with systemd. Link: https://github.com/systemd/systemd/blob/219fa78b5fa2ec9c13dd87419366116e3197693f/units/container-getty%40.service.in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We add various improvements to the bundled systemd unit files to provide a better out-of-the-box experience.