summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv/ypinit.8
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ypserv/ypinit.8')
-rw-r--r--usr.sbin/ypserv/ypinit.833
1 files changed, 22 insertions, 11 deletions
diff --git a/usr.sbin/ypserv/ypinit.8 b/usr.sbin/ypserv/ypinit.8
index 8e560d5..dc4565ce 100644
--- a/usr.sbin/ypserv/ypinit.8
+++ b/usr.sbin/ypserv/ypinit.8
@@ -61,10 +61,12 @@ directory, the
.Pa /var/yp/ypservers
file, and calls
.Pa /var/yp/Makefile
-to create and populate an initial set of NIS maps. The maps are
+to create and populate an initial set of NIS maps.
+The maps are
created from local source files using the
.Xr yp_mkdb 8
-command. The script will prompt the user for a list of servers
+command.
+The script will prompt the user for a list of servers
that support the specified domain; this list is used to populate
the ypservers map.
.Pp
@@ -72,10 +74,12 @@ On a slave server,
.Nm
creates the
.Pa /var/yp/$DOMAINNAME ,
-populates it with copies of the NIS maps from the master. The maps
+populates it with copies of the NIS maps from the master.
+The maps
are obtained from the master using the
.Xr ypxfr 8
-command. The
+command.
+The
.Nm
script obtains the list of maps to transfer in one of two ways: if
the system is configured as an NIS client and is bound to the master
@@ -87,8 +91,10 @@ command to obtain a list of maps exported by the master server.
If the system is not configured as a client of the NIS master,
.Nm
uses a hardcoded list of maps, some of which may or may not actually
-exist on the master. The system administrator can edit the script and
-modify the map list if necessary. Otherwise, indivudual maps can
+exist on the master.
+The system administrator can edit the script and
+modify the map list if necessary.
+Otherwise, indivudual maps can
be transfered manually from the master using
.Xr ypxfr 8 .
.Sh OPTIONS
@@ -96,8 +102,10 @@ be transfered manually from the master using
supports the following options:
.Bl -tag -width indent
.It Fl m Op Ar domainname
-Set up a master server. By default, the script sets up a server for
-the system default domain. The user can override this default by specifying
+Set up a master server.
+By default, the script sets up a server for
+the system default domain.
+The user can override this default by specifying
.Ar domainname
explicitly.
Maps are constructed from scratch using local files as templates using
@@ -107,16 +115,19 @@ command.
.It Fl s Ar master_server Op Ar domainname
Set up a slave server using
.Ar master_name
-as the master. Maps are copied from
+as the master.
+Maps are copied from
.Ar master_server
to the slave using
.Xr ypxfr 8 .
By default, the script sets up a server for
-the system default domain. The user can override this default by specifying
+the system default domain.
+The user can override this default by specifying
.Ar domainname
explicitly.
.It Fl u Op Ar domainname
-Update the ypservers map on the master server. When a new slave
+Update the ypservers map on the master server.
+When a new slave
server is added to a domain, its hostname must be added to the
ypservers map so that
.Xr yppush 8
OpenPOWER on IntegriCloud