The file /var/yp/securenets defines those networks or hosts which are allowed access to information by the Network Information Service (NIS ).
The format of the file is as follows:
Lines beginning with the ‘‘#’’ character are treated as comments.
Otherwise, each line contains two fields separated by white space. The first field is a netmask, the second a network.
The netmask field may be either 255.255.255.255 or the string ‘‘host’’ indicating that the second field is a specific host to be allowed access.
The Network Information Service (NIS ) was formerly known as Sun Yellow Pages (YP ). The functionality of the two remains the same; only the name has changed. The name Yellow Pages is a registered trademark in the United Kingdom of British Telecommunications plc, and may not be used without permission.