securenets(4) securenets(4)
securenets - NIS map security file
/etc/securenets
The /etc/securenets file lists networks and hosts that may participate in
the NIS protocol with this host. This file is used by both the NIS
server library nisserv(7p).
This file contains any number of netmask/address pairs, one per line
separated by white space. The netmask controls which bits in an address
are contained in the match. It should contain all ones followed by all
zeros in binary. A netmask of 255.255.255.255 (all ones in binary) would
require an exact match of the address. An example file would be:
255.255.0.0 128.1.0.0
255.255.255.255 128.2.1.1
255.255.255.0 128.3.4.0
When the NIS libraries are initially loaded into nsd this file is parsed
into an internal binary format. When a request from a host is received
its source address is logically ANDed with the netmask and compared to
the address. If they are identical then the request is allowed, else a
message is logged and the request is ignored.
When this file is changed a HUP signal must be sent to the nsd daemon for
the file to be reparsed. This can be done with the command killall -HUP
nsd.
/etc/securenets
nsd(1M), nisserv(7P)
IRIX Admin: Networking and Mail
IRIX Admin: NFS and NIS
PPPPaaaaggggeeee 1111 [ Back ]
|