Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 20 Mar 2003 20:55:37 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: BB cc: cygwin AT cygwin DOT com Subject: Re: inetd/telnet on win98 vs WinXP In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII BB, The mailing list archives are an important source of Cygwin documentation. Whenever a question is answered on the mailing list, the whole user community benefits. So, thank you for taking the time to provide this answer for the archives. To the inetutils maintainer: perhaps this could go into the README? If it's not Cygwin-specific, perhaps this could go into the main README file (which I couldn't find, BTW)? Igor On Thu, 20 Mar 2003, BB wrote: > I have run across unanswered questions in this newsgroup that I wished had > been answered, so FYI... > > Apparently, if the environment variable USER is defined when inetd is > started, telnetd will not prompt for the user id. I added "-e USER=cyguser" > to the cygrunsrv options on WinXP and it caused telnet to skip the user id > prompt and immediately prompt for the password. > > "BB" wrote in message news:b5d380$hvk$1 AT main DOT gmane DOT org... > > When I use inetd Win98 and telnet to it, I get a prompt for a password. > > When I telnet to inetd on XP, it prompts for a user id and then a password. > > Is there any reason for this inconsistency? Is there anything I can do to > > make them consistent? > > > > My guess is that is has something to do with the user id inetd is running > > as. On Win98, I start inetd from as bash shell with a user id. On WinXP, > > inetd is started as SYSTEM I think. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/