Print this page
12743 man page spelling mistakes
   1 '\" te
   2 .\" Copyright (C) 2000, Sun Microsystems,
   3 .\" Inc. All Rights Reserved
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH SECURENETS 4 "Apr 26, 1999"
   8 .SH NAME
   9 securenets \- configuration file for NIS security
  10 .SH SYNOPSIS
  11 .LP
  12 .nf
  13 \fB/var/yp/securenets\fR
  14 .fi
  15 
  16 .SH DESCRIPTION
  17 .sp
  18 .LP
  19 The  \fB/var/yp/securenets\fR file defines the networks or hosts which are
  20 allowed access to information by the Network Information Service ("\fBNIS\fR").
  21 .sp
  22 .LP
  23 The format of the file is as follows:
  24 .RS +4
  25 .TP
  26 .ie t \(bu
  27 .el o
  28 Lines beginning with the ``#'' character are treated as comments.
  29 .RE
  30 .RS +4
  31 .TP
  32 .ie t \(bu
  33 .el o
  34 Otherwise, each line contains two fields separated by white space.  The first
  35 field is a netmask, the second a network.
  36 .RE
  37 .RS +4
  38 .TP


  49 begin. If \fB/var/yp/securenets\fR is present, \fBypserv\fR(1M) and
  50 \fBypxfrd\fR(1M) respond only to \fBIP\fR addresses in the range given. In
  51 order for a change in the \fB/var/yp/securenets\fR file to take effect, you
  52 must kill and restart any active daemons using \fBypstop\fR(1M) and
  53 \fBypstart\fR(1M).
  54 .sp
  55 .LP
  56 An important thing to note for all the examples below is that the server must
  57 be allowed to access itself. You accomplish this either by the server being
  58 part of a subnet that is allowed to access the server, or by adding an
  59 individual entry, as the following:
  60 .sp
  61 .in +2
  62 .nf
  63 hosts 127.0.0.1
  64 .fi
  65 .in -2
  66 .sp
  67 
  68 .SH EXAMPLES
  69 .LP
  70 \fBExample 1 \fRAccess for Individual Entries
  71 .sp
  72 .LP
  73 If individual machines are to be give access, the entry could be:
  74 
  75 .sp
  76 .in +2
  77 .nf
  78 255.255.255.255 192.9.1.20
  79 .fi
  80 .in -2
  81 .sp
  82 
  83 .sp
  84 .LP
  85 or
  86 
  87 .sp
  88 .in +2
  89 .nf


 104 255.255.255.0   192.9.1.0
 105 .fi
 106 .in -2
 107 .sp
 108 
 109 .LP
 110 \fBExample 3 \fRAccess for a Class B Network
 111 .sp
 112 .LP
 113 The entry for access to a class B network could be:
 114 
 115 .sp
 116 .in +2
 117 .nf
 118 255.255.0.0     9.9.0.0
 119 .fi
 120 .in -2
 121 .sp
 122 
 123 .LP
 124 \fBExample 4 \fRAccess for an Invidual IPv6 Address
 125 .sp
 126 .LP
 127 Similarly, to allow access for an individual IPv6 address:
 128 
 129 .sp
 130 .in +2
 131 .nf
 132 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff  fec0::111:abba:ace0:fba5e:1
 133 .fi
 134 .in -2
 135 .sp
 136 
 137 .sp
 138 .LP
 139 or
 140 
 141 .sp
 142 .in +2
 143 .nf
 144 host  fec0::111:abba:ace0:fba5e:1
 145 .fi
 146 .in -2
 147 .sp
 148 
 149 .LP
 150 \fBExample 5 \fRAccess for all IPv6 Addresses Starting with fe80
 151 .sp
 152 .LP
 153 To allow access for all IPv6 addresses starting with fe80:
 154 
 155 .sp
 156 .in +2
 157 .nf
 158 ffff::  fe80::
 159 .fi
 160 .in -2
 161 .sp
 162 
 163 .SH FILES
 164 .sp
 165 .ne 2
 166 .na
 167 \fB\fB/var/yp/securenets\fR\fR
 168 .ad
 169 .RS 22n
 170 Configuration file for \fBNIS\fR security.
 171 .RE
 172 
 173 .SH SEE ALSO
 174 .sp
 175 .LP
 176 \fBypserv\fR(1M), \fBypstart\fR(1M), \fBypstop\fR(1M), \fBypxfrd\fR(1M)
 177 .SH NOTES
 178 .sp
 179 .LP
 180 The Network Information Service (NIS) was formerly known as Sun Yellow Pages
 181 (YP).  The functionality of the two remains the same; only the name has
 182 changed. The name Yellow Pages is a registered trademark in the United Kingdom
 183 of British Telecommunications plc, and may not be used without permission.
   1 '\" te
   2 .\" Copyright (C) 2000, Sun Microsystems,
   3 .\" Inc. All Rights Reserved
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH SECURENETS 4 "May 16, 2020"
   8 .SH NAME
   9 securenets \- configuration file for NIS security
  10 .SH SYNOPSIS

  11 .nf
  12 \fB/var/yp/securenets\fR
  13 .fi
  14 
  15 .SH DESCRIPTION


  16 The  \fB/var/yp/securenets\fR file defines the networks or hosts which are
  17 allowed access to information by the Network Information Service ("\fBNIS\fR").
  18 .sp
  19 .LP
  20 The format of the file is as follows:
  21 .RS +4
  22 .TP
  23 .ie t \(bu
  24 .el o
  25 Lines beginning with the ``#'' character are treated as comments.
  26 .RE
  27 .RS +4
  28 .TP
  29 .ie t \(bu
  30 .el o
  31 Otherwise, each line contains two fields separated by white space.  The first
  32 field is a netmask, the second a network.
  33 .RE
  34 .RS +4
  35 .TP


  46 begin. If \fB/var/yp/securenets\fR is present, \fBypserv\fR(1M) and
  47 \fBypxfrd\fR(1M) respond only to \fBIP\fR addresses in the range given. In
  48 order for a change in the \fB/var/yp/securenets\fR file to take effect, you
  49 must kill and restart any active daemons using \fBypstop\fR(1M) and
  50 \fBypstart\fR(1M).
  51 .sp
  52 .LP
  53 An important thing to note for all the examples below is that the server must
  54 be allowed to access itself. You accomplish this either by the server being
  55 part of a subnet that is allowed to access the server, or by adding an
  56 individual entry, as the following:
  57 .sp
  58 .in +2
  59 .nf
  60 hosts 127.0.0.1
  61 .fi
  62 .in -2
  63 .sp
  64 
  65 .SH EXAMPLES

  66 \fBExample 1 \fRAccess for Individual Entries
  67 .sp
  68 .LP
  69 If individual machines are to be give access, the entry could be:
  70 
  71 .sp
  72 .in +2
  73 .nf
  74 255.255.255.255 192.9.1.20
  75 .fi
  76 .in -2
  77 .sp
  78 
  79 .sp
  80 .LP
  81 or
  82 
  83 .sp
  84 .in +2
  85 .nf


 100 255.255.255.0   192.9.1.0
 101 .fi
 102 .in -2
 103 .sp
 104 
 105 .LP
 106 \fBExample 3 \fRAccess for a Class B Network
 107 .sp
 108 .LP
 109 The entry for access to a class B network could be:
 110 
 111 .sp
 112 .in +2
 113 .nf
 114 255.255.0.0     9.9.0.0
 115 .fi
 116 .in -2
 117 .sp
 118 
 119 .LP
 120 \fBExample 4 \fRAccess for an Individual IPv6 Address
 121 .sp
 122 .LP
 123 Similarly, to allow access for an individual IPv6 address:
 124 
 125 .sp
 126 .in +2
 127 .nf
 128 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff  fec0::111:abba:ace0:fba5e:1
 129 .fi
 130 .in -2
 131 .sp
 132 
 133 .sp
 134 .LP
 135 or
 136 
 137 .sp
 138 .in +2
 139 .nf
 140 host  fec0::111:abba:ace0:fba5e:1
 141 .fi
 142 .in -2
 143 .sp
 144 
 145 .LP
 146 \fBExample 5 \fRAccess for all IPv6 Addresses Starting with fe80
 147 .sp
 148 .LP
 149 To allow access for all IPv6 addresses starting with fe80:
 150 
 151 .sp
 152 .in +2
 153 .nf
 154 ffff::  fe80::
 155 .fi
 156 .in -2
 157 .sp
 158 
 159 .SH FILES

 160 .ne 2
 161 .na
 162 \fB\fB/var/yp/securenets\fR\fR
 163 .ad
 164 .RS 22n
 165 Configuration file for \fBNIS\fR security.
 166 .RE
 167 
 168 .SH SEE ALSO


 169 \fBypserv\fR(1M), \fBypstart\fR(1M), \fBypstop\fR(1M), \fBypxfrd\fR(1M)
 170 .SH NOTES


 171 The Network Information Service (NIS) was formerly known as Sun Yellow Pages
 172 (YP).  The functionality of the two remains the same; only the name has
 173 changed. The name Yellow Pages is a registered trademark in the United Kingdom
 174 of British Telecommunications plc, and may not be used without permission.