DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Setting up NIS

Preparing /etc/hosts

To use NIS services, the /etc/hosts file on all NIS clients, NIS slave servers and NIS master servers must contain an entry for the NIS master server. Even when set up for receiving NIS services, the client's /etc/hosts file must also contain entries for the local host's name, and the local loopback name, localhost. If the client is a diskless machine, it must also contain the address of the client's file server. The /etc/hosts file is accessed at boot time before the client's ypbind daemon starts up. Once ypbind is running, the local /etc/hosts file is not accessed at all. Rather, information is obtained from the NIS maps hosts.byaddr and hosts.byname. Refer to the hosts(4tcp) manual page for more information about the /etc/hosts file.


NOTE: If you want to manage some hosts outside of NIS, leave those hosts out of the NIS host maps and rely on the name-to-address facility to either use the tcpip.so or resolv.so libraries when the NIS lookup fails.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004