How to Set Up Secure NIS?
SunOS 4.1.3_u1 and 4.1.4 allow you to increase security on your NIS server, as do older versions of SunOS, with patch 100482 installed. If you would like to restrict who may retrieve your NIS maps, you should create the file /var/yp/securenets. The contents of this file should be a number of lines which each read: netmask address For example, if you only wanted the machines 150.101.16.28 and 129.45.16.29 to be able to retrieve your NIS maps, you could enter the following two lines: 255.255.255.255 150.101.16.28 255.255.255.255 150.101.16.29 If you wanted everyone on the network 150.101.16.0 to be able to retrieve your maps, you could enter the line: 255.255.255.0 150.101.16.0 CAUTION: If you are attempting to setup a new client on a new subnet and are having problems getting it to bind to a server on the remote network check the server to see if you have enabled securenets. If so, you will not be able to get the machine to bind until you enable that subnet.