From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4686 invoked from network); 20 Jul 1999 14:50:03 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 20 Jul 1999 14:50:03 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA15273 for ; Tue, 20 Jul 1999 10:50:02 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id IAA20940 for axp-list@redhat.com; Tue, 20 Jul 1999 08:49:59 -0600 From: Michal Jaegermann Message-Id: <199907201449.IAA20940@ellpspace.math.ualberta.ca> Subject: Re: Why I must be waiting so long.. To: axp-list@redhat.com Date: Tue, 20 Jul 1999 08:49:59 -0600 (MDT) In-Reply-To: from "Mark Hansel" at Jul 20, 99 08:43:45 am Content-Type: text Mark Hansel wrote: > > >Raxel Chen wrote: > >> > >> When I telnet or ftp from other hosts , it always waiting for much time > >> to login . > > Also, make sure /etc/host.conf has the line: > > order hosts,bind Actually pay closer attention what you have in /etc/nsswitch.conf. This is not so essential with earlier distributions but current (not from 5.1 yet, IIRC) libraries take a contents of this file quite seriously. If it does not reflect reality than you will slow down not only login but various other things; for example, tar (a famous side effect :-). A reason for that is that for every extracted file tar attempts to check credentials of its owner. If directed to do that over NIS, which happens not to be there, tar will stumble on every file to extract. I do not think that the current resolver stuff from glibc consults an "order" directive but I did not check sources. Michal