delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/07/17:19:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 7 Jan 2005 17:18:46 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Change login message
In-Reply-To: <20050107113709.GD23589@cygbert.vinschen.de>
Message-ID: <Pine.GSO.4.61.0501071707450.22768@slinky.cs.nyu.edu>
References: <20050107091757 DOT 11729 DOT qmail AT web60006 DOT mail DOT yahoo DOT com> <20050107113709 DOT GD23589 AT cygbert DOT vinschen DOT de>
MIME-Version: 1.0

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/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019