Print this page
12743 man page spelling mistakes
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man4/securenets.4
+++ new/usr/src/man/man4/securenets.4
1 1 '\" te
2 2 .\" Copyright (C) 2000, Sun Microsystems,
3 3 .\" Inc. All Rights Reserved
4 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 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 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"
7 +.TH SECURENETS 4 "May 16, 2020"
8 8 .SH NAME
9 9 securenets \- configuration file for NIS security
10 10 .SH SYNOPSIS
11 -.LP
12 11 .nf
13 12 \fB/var/yp/securenets\fR
14 13 .fi
15 14
16 15 .SH DESCRIPTION
17 -.sp
18 -.LP
19 16 The \fB/var/yp/securenets\fR file defines the networks or hosts which are
20 17 allowed access to information by the Network Information Service ("\fBNIS\fR").
21 18 .sp
22 19 .LP
23 20 The format of the file is as follows:
24 21 .RS +4
25 22 .TP
26 23 .ie t \(bu
27 24 .el o
28 25 Lines beginning with the ``#'' character are treated as comments.
29 26 .RE
30 27 .RS +4
31 28 .TP
32 29 .ie t \(bu
33 30 .el o
34 31 Otherwise, each line contains two fields separated by white space. The first
35 32 field is a netmask, the second a network.
36 33 .RE
37 34 .RS +4
38 35 .TP
39 36 .ie t \(bu
40 37 .el o
41 38 The netmask field may be either \fB255.255.255.255\fR (IPv4),
42 39 \fBffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff\fR (IPv6) , or the string ``host''
43 40 indicating that the second field is a specific host to be allowed access.
44 41 .RE
45 42 .sp
46 43 .LP
47 44 Both \fBypserv\fR(1M) and \fBypxfrd\fR(1M) use the \fB/var/yp/securenets\fR
48 45 file. The file is read when the \fBypserv\fR(1M) and \fBypxfrd\fR(1M) daemons
49 46 begin. If \fB/var/yp/securenets\fR is present, \fBypserv\fR(1M) and
50 47 \fBypxfrd\fR(1M) respond only to \fBIP\fR addresses in the range given. In
51 48 order for a change in the \fB/var/yp/securenets\fR file to take effect, you
52 49 must kill and restart any active daemons using \fBypstop\fR(1M) and
53 50 \fBypstart\fR(1M).
54 51 .sp
55 52 .LP
56 53 An important thing to note for all the examples below is that the server must
57 54 be allowed to access itself. You accomplish this either by the server being
58 55 part of a subnet that is allowed to access the server, or by adding an
↓ open down ↓ |
30 lines elided |
↑ open up ↑ |
59 56 individual entry, as the following:
60 57 .sp
61 58 .in +2
62 59 .nf
63 60 hosts 127.0.0.1
64 61 .fi
65 62 .in -2
66 63 .sp
67 64
68 65 .SH EXAMPLES
69 -.LP
70 66 \fBExample 1 \fRAccess for Individual Entries
71 67 .sp
72 68 .LP
73 69 If individual machines are to be give access, the entry could be:
74 70
75 71 .sp
76 72 .in +2
77 73 .nf
78 74 255.255.255.255 192.9.1.20
79 75 .fi
80 76 .in -2
81 77 .sp
82 78
83 79 .sp
84 80 .LP
85 81 or
86 82
87 83 .sp
88 84 .in +2
89 85 .nf
90 86 host 192.0.1.20
91 87 .fi
92 88 .in -2
93 89 .sp
94 90
95 91 .LP
96 92 \fBExample 2 \fRAccess for a Class C Network
97 93 .sp
98 94 .LP
99 95 If access is to be given to an entire class C network, the entry could be:
100 96
101 97 .sp
102 98 .in +2
103 99 .nf
104 100 255.255.255.0 192.9.1.0
105 101 .fi
106 102 .in -2
107 103 .sp
108 104
109 105 .LP
110 106 \fBExample 3 \fRAccess for a Class B Network
111 107 .sp
112 108 .LP
113 109 The entry for access to a class B network could be:
↓ open down ↓ |
34 lines elided |
↑ open up ↑ |
114 110
115 111 .sp
116 112 .in +2
117 113 .nf
118 114 255.255.0.0 9.9.0.0
119 115 .fi
120 116 .in -2
121 117 .sp
122 118
123 119 .LP
124 -\fBExample 4 \fRAccess for an Invidual IPv6 Address
120 +\fBExample 4 \fRAccess for an Individual IPv6 Address
125 121 .sp
126 122 .LP
127 123 Similarly, to allow access for an individual IPv6 address:
128 124
129 125 .sp
130 126 .in +2
131 127 .nf
132 128 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff fec0::111:abba:ace0:fba5e:1
133 129 .fi
134 130 .in -2
135 131 .sp
136 132
137 133 .sp
138 134 .LP
139 135 or
140 136
141 137 .sp
142 138 .in +2
143 139 .nf
144 140 host fec0::111:abba:ace0:fba5e:1
145 141 .fi
146 142 .in -2
147 143 .sp
148 144
149 145 .LP
150 146 \fBExample 5 \fRAccess for all IPv6 Addresses Starting with fe80
151 147 .sp
152 148 .LP
153 149 To allow access for all IPv6 addresses starting with fe80:
↓ open down ↓ |
19 lines elided |
↑ open up ↑ |
154 150
155 151 .sp
156 152 .in +2
157 153 .nf
158 154 ffff:: fe80::
159 155 .fi
160 156 .in -2
161 157 .sp
162 158
163 159 .SH FILES
164 -.sp
165 160 .ne 2
166 161 .na
167 162 \fB\fB/var/yp/securenets\fR\fR
168 163 .ad
169 164 .RS 22n
170 165 Configuration file for \fBNIS\fR security.
171 166 .RE
172 167
173 168 .SH SEE ALSO
174 -.sp
175 -.LP
176 169 \fBypserv\fR(1M), \fBypstart\fR(1M), \fBypstop\fR(1M), \fBypxfrd\fR(1M)
177 170 .SH NOTES
178 -.sp
179 -.LP
180 171 The Network Information Service (NIS) was formerly known as Sun Yellow Pages
181 172 (YP). The functionality of the two remains the same; only the name has
182 173 changed. The name Yellow Pages is a registered trademark in the United Kingdom
183 174 of British Telecommunications plc, and may not be used without permission.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX