Re: Understand nsswitch.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El sáb, 04-03-2006 a las 08:25 -0800, Mont Rothstein escribió:
> I recently had a problem logging into the admin console because files
> was listed before dns on the hosts line of my nsswitch.conf file.
> 
> It was hosts: files dns
> It now is hosts: dns files
> 
> I understand that this line specifies the lookup order for host
> information.  What I'd like to know is if this implies that something
> else is miss-configured on my system, or if this was the root problem?
>  i.e. does FDS simply require that dns be listed first or should it
> have worked with files first?
> 
> As far as I know files does a look up in /etc/hosts.  My /etc/hosts
> has a single entry:
> 
> 192.168.1.115    rheles4rs1.forayadams.foray.com    rheles4rs1
> 
> Those are the correct IP, FQDN, and server name for my server.
> 
> Any insight into this would be appreciated.

My /etc/hosts has three other lines before that one:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost

You might be missing the 127.0.0.1 line.
-- 
Oscar A. Valdez

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux