Show Table of Contents
22.214.171.124. Edit the /var/yp/securenets File
/var/yp/securenetsfile is blank or does not exist (as is the case after a default installation), NIS listens to all networks. One of the first things to do is to put netmask/network pairs in the file so that
ypservonly responds to requests from the appropriate network.
Below is a sample entry from a
Never start a NIS server for the first time without creating the
This technique does not provide protection from an IP spoofing attack, but it does at least place limits on what networks the NIS server services.