delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/09/12:38:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Mon, 9 Sep 2002 18:38:02 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Suggestion: /etc/hosts
Message-ID: <20020909183802.A32728@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <7424935D9B6CD311B72800508B108FD20D176764 AT emss03m08 DOT orl DOT lmco DOT com>
Mime-Version: 1.0
In-Reply-To: <7424935D9B6CD311B72800508B108FD20D176764@emss03m08.orl.lmco.com>
User-Agent: Mutt/1.3.22.1i

On Mon, Sep 09, 2002 at 11:35:15AM -0400, Zieg, Mark wrote:
> On Mon, Sep 09, 2002 at 08:48:07AM -0400, Joe Buehler wrote:
> >Paul Johnston wrote:
> >
> >>NT has an equivalent to /etc/hosts, so I think the cygwin install should
> >>create this symbolic link:
> >>
> >>/etc/hosts -> ${SYSTEMROOT}/system32/drivers/etc/hosts
> >
> >This is a great idea, making allowances for variations in the different
> >versions of Windows, of course.
> 
> Remember that corporate NT users often don't have admin rights to their own
> boxes, and thus cannot edit /WINNT/system32/drivers/etc/hosts (this is my
> own sad state of affairs).
> 
> Thus, if such a symlink is created, please note in the documentation that
> some users will have to delete the link and manually create their own
> /etc/hosts file in order to restore original Cygwin functionality.

Huh?  The /etc/hosts file isn't used at all by Cygwin.  It uses the
same system provided files on all systems (9x/NT) as Winsock does.

If any application in the Cygwin net distro is *explicitely* accessing
/etc/{hosts,network,protocol,services} files, they have to be fixed.

Note that all applications using just the usual network function for
accessing these files are on the safe side.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


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