summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-07-14 14:47:15 +0000
committercharnier <charnier@FreeBSD.org>2002-07-14 14:47:15 +0000
commitd2168fe021bd1693c1038503e09d3d74dd8b6f36 (patch)
tree1cffbfcbeace5b3e6b01d3c6b67a9c10233bc810 /usr.sbin/ypserv
parent745a7b1537c2ebb511bcf928366eefe72af77dac (diff)
downloadFreeBSD-src-d2168fe021bd1693c1038503e09d3d74dd8b6f36.zip
FreeBSD-src-d2168fe021bd1693c1038503e09d3d74dd8b6f36.tar.gz
The .Nm utility
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/ypinit.834
-rw-r--r--usr.sbin/ypserv/ypserv.86
2 files changed, 24 insertions, 16 deletions
diff --git a/usr.sbin/ypserv/ypinit.8 b/usr.sbin/ypserv/ypinit.8
index 6d25e42..a3a7a8d 100644
--- a/usr.sbin/ypserv/ypinit.8
+++ b/usr.sbin/ypserv/ypinit.8
@@ -50,7 +50,8 @@
.Sh DESCRIPTION
The
.Nm
-script sets up databases on a Network Information Service (NIS)
+utility is a script which sets up databases on a Network Information Service
+(NIS)
master or slave server.
.Pp
On a master server,
@@ -65,8 +66,8 @@ 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
+utility.
+The utility will prompt the user for a list of servers
that support the specified domain; this list is used to populate
the ypservers map.
.Pp
@@ -78,32 +79,37 @@ populates it with copies of the NIS maps from the master.
The maps
are obtained from the master using the
.Xr ypxfr 8
-command.
+utility.
The
.Nm
-script obtains the list of maps to transfer in one of two ways: if
+utility 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
server,
.Nm
is able to use the
.Xr ypwhich 1
-command to obtain a list of maps exported by the master server.
+utility 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
+The system administrator can edit the
+.Nm
+script and
modify the map list if necessary.
-Otherwise, indivudual maps can
+Otherwise, individual maps can
be transfered manually from the master using
.Xr ypxfr 8 .
.Sh OPTIONS
-.Nm Ypinit
-supports the following options:
+The
+.Nm
+utility 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
+By default,
+.Nm
+sets up a server for
the system default domain.
The user can override this default by specifying
.Ar domainname
@@ -111,7 +117,7 @@ explicitly.
Maps are constructed from scratch using local files as templates using
the
.Xr yp_mkdb 8
-command.
+utility.
.It Fl s Ar master_server Op Ar domainname
Set up a slave server using
.Ar master_name
@@ -120,7 +126,9 @@ Maps are copied from
.Ar master_server
to the slave using
.Xr ypxfr 8 .
-By default, the script sets up a server for
+By default,
+.Nm
+sets up a server for
the system default domain.
The user can override this default by specifying
.Ar domainname
diff --git a/usr.sbin/ypserv/ypserv.8 b/usr.sbin/ypserv/ypserv.8
index d8c0990..88882cf 100644
--- a/usr.sbin/ypserv/ypserv.8
+++ b/usr.sbin/ypserv/ypserv.8
@@ -59,7 +59,7 @@ updated from a single location.
.Pp
The
.Nm
-program is the server that distributes
+utility is the server that distributes
.Tn NIS
databases to client systems within an
.Tn NIS
@@ -111,7 +111,7 @@ good general practice.
.Pp
The
.Nm
-program is started by
+utility is started by
.Pa /etc/rc.network
if it has been enabled in
.Pa /etc/rc.conf .
@@ -271,7 +271,7 @@ will allow connections from any host.
.Pp
The
.Nm
-program also has support for Wietse Venema's
+utility also has support for Wietse Venema's
.Em tcpwrapper
package.
This allows the administrator to use the tcpwrapper
OpenPOWER on IntegriCloud