This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Suggestion: /etc/hosts
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@cygwin.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/