Commit Graph

7 Commits

Author SHA1 Message Date
sin
1f783e7d96 Print hostname as well in getty 2014-02-11 11:29:31 +00:00
sin
894be72e6b Use LOGIN_NAME_MAX instead of a hardcoded value
As far as I can tell LOGIN_NAME_MAX includes the null-terminator.
2014-02-11 11:02:02 +00:00
sin
5d06ac4688 Allow getty to execute another program instead of /bin/login 2014-02-11 10:47:02 +00:00
sin
48b505fad3 Don't die on vhangup() failure
We might be able to continue at this point.
2014-02-11 10:16:13 +00:00
sin
deeeec8977 Don't put '\n' in getty
We can do this in the initscripts.
2014-02-10 15:50:16 +00:00
sin
cb904446ec Ensure getty prompts for the username
As Eckehard Berns reported:

"On Slackware /bin/login times out after 60 seconds which will
clutter the vt after a couple of minutes with timeout messages and login
prompts. So it seems that getty should ask for the username first even
if login could do it as well."
2014-02-10 15:49:39 +00:00
sin
adc7ff7d04 Add initial version of getty 2014-02-10 12:15:58 +00:00