Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!moxie!hack From: hack@moxie.lonestar.org (Greg Hackney) Newsgroups: comp.sys.ncr Subject: Re: The telnet "login" prompt Message-ID: <3833@moxie.lonestar.org> Date: 3 Dec 90 18:10:28 GMT References: <90336.150626TEMNGT23@ysub.ysu.edu> Organization: Still looking for a good one. :-) Lines: 24 In article <90336.150626TEMNGT23@ysub.ysu.edu> TEMNGT23@ysub.ysu.edu (Lou Anschuetz) writes: > I have most of the prompts in /etc/gettydefs changed so that the > login prompt is slightly more informative. When I look in /etc/inittab > however, the prompt for a telnet login (win tcp/ip 4.10) apparently > comes from the ntty line in /etc/inittab which uses the vtty line > in /etc/gettydefs. There is no login text after the appropriate prompt > there, however, so the question (it may be a dumb one) is where does > the word login come from when telneting in, and can it be changed? For ordinary physical ports, S5R3's getty looks at the /etc/issue file and /etc/gettydefs for login message information. Once the user provides initial login and password information, getty passes control to /bin/login for password checks and logging into the system. If the login fails, /bin/login then provides a hardwired "login: " prompt, which can only be changed in the source code. Assuming that WIN's telnet operation is similar to Berkeley's, the telnet process doesn't use getty, but instead does an exec to /bin/login, uses the hardwired login prompt, therefore can't be changed. Berkeley's uucpd daemon also has an internal fixed login message. -- Greg Hackney hack@moxie.lonestar.org