---- On Mon, 06 Feb 2017 20:33:39 +0100 Denys Vlasenko <[email protected]> wrote ---- > Traditionally, Unix logins are not handled by running "login" > program in a loop. "getty" is run in a loop, and it has no timeout. > When user enters username, then getty execs login. > _Then_ login can time out. > > This is not done on a whim. For example, getty sets up a new session > and ensures than (only) this session has tty as controlling tty. >
If a serial console is set through kernel parameters, why set it up again? The tty is at that point seems to be configured and ready, but I might not be understand what getty is for and what a "controlling tty" is (exclusive usage?), I guess I'm going to research it or ask at [unix.se]. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
