On Fri, 7 Jan 2005, Corinna Vinschen wrote:

> On Jan  7 17:17, bella wrote:
> > Hi,
> >
> > When telnet to Cygwin server, it displayed
> >
> > CYGWIN_NT-5.0 <version>(0.51/3/2)
> > login:
> >
> > Can I change the above login message ? How ?
>
> Not that I'm aware of.

Meaning that the line is compiled in.  You can recompile telnetd with
-DDEFAULT_IM='Your String', which will change the first line.  You can
also start telnetd with the '-h' option, which will avoid printing that
line out altogether.  There's also something in the sources about the
"default" terminal type and the "im" setting, but I couldn't figure it out
in the two minutes that I looked at the sources -- see telnet() in
telnetd.c.

The second line, I believe, comes from the login process, which is
execve'd, so I'm not sure you can easily change that.
HTH,
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to