Setting Up a NIS Server Manually

YaST's NIS server module makes it convenient and easy to set up a NIS server. However, it is always instructive to look at the changes that YaST has made in the last section and discover how to interact with the NIS server manually through the command line and configuration files.


Specifying IP addresses that can use this NIS server

: idi'jvlfe^Jii


«llotvfd (4 qutiy ih* Nt&ieivti

NIS Server Query Hosts Setup

nrt«.fc ,-. -qu.l la lh. faihm.

MO or lh> hmfi jddira ¿lid Iii»

111 im im h

T'» tmiy v>Mih Hmnk

Ep.itnng n«ni3ili ind

««Wut u M.o.¡i alón icon ra


BiiV I ¿San I Fmlih | 1


The data that NIS actually exports is under /var/yp/. Databases for the NIS maps will be exported under /var/yp/<domain name>/.

There is a Makefile at /var/yp/Makefile. Typing make all in the directory /var/yp rebuilds the NIS maps. This Makefile has been rewritten by YaST on the basis of the NIS maps that we chose to export. If you look at the line in /var/yp/Makefile defining the action taken when you type make all, it contains exactly those maps:

Was this article helpful?

0 0

Post a comment