 |
Index for Section 8 |
|
 |
Alphabetical listing for Y |
|
 |
Bottom of page |
|
ypmake(8)
NAME
ypmake - rebuild Network Information Service (NIS) database using the make
command
SYNOPSIS
cd /var/yp make [options] [map]
OPTIONS
The options argument can be used to override the default values of three
special variables used by make:
DIR Instructs make to use the source files in the specified directory. The
default is /var/yp/src.
DOM Instructs make to construct a domain other than the master's default
domain. The DOM variable in the /var/yp/Makefile file must be set to
the domain name before running make. If you run ypsetup, the DOM
variable is set when you specify a domain name.
METHOD
Specifies the database routines used to store NIS maps. The choices
are:
b btree -- Recommended when creating and maintaining very large maps.
d dbm/ndbm -- For backward compatibility. This is the default.
h hash -- A potentially quicker method for managing small maps.
NOPUSH
When non-null inhibits updating of the new database files using the
yppush(8) function. The default is the null string.
To override the default values of these special variables, an options
argument format of special_variable = value is used. See the EXAMPLES
section for an example.
The map argument supplied on the command line instructs make to update only
the specified map. The specified maps are those located at
/var/yp/{domain}, where {domain} is the NIS domain name. Some typical
entries for the map argument are passwd, hosts, and networks. Typing make
passwd creates and updates the NIS password database, if it is out of date.
The make command distributes the updated password database to the slave
servers using yppush(8). Therefore, typing make host or make networks
creates and updates the host and network files, /var/yp/src/hosts and
/var/yp/src/networks, respectively, on the master and slave servers.
See ypfiles(4) and ypserv(8) for an overview of NIS.
DESCRIPTION
The make command uses the /var/yp/Makefile file to build an NIS database.
With no arguments, make creates databases for any NIS maps that are out-
of-date, and then executes yppush(8) to notify slave servers that there has
been a change.
Note
Execute the make command only at an NIS master server machine. If it
is executed from either a slave server or an NIS client machine, the
created changes will only be overwritten when the next NIS master
server machine update, using ypxfr(8), is performed.
RESTRICTIONS
You must use the same database format for each map in a domain. In
addition, a server serving multiple NIS domains must use the same database
format for all domains.
Although a Tru64 UNIX NIS server that takes advantage of btree files will
be able to store very large maps, NIS slave servers that lack this feature
might have a much smaller limit on the number of map entries they can
handle. It may not be possible to distribute very large maps from a Tru64
UNIX NIS master server to a slave server that lacks support for very large
maps. NIS clients are not affected by these enhancements.
EXAMPLES
This example causes make to create a password NIS map for the domain
NewDomain instead of for the default domain:
make DOM=NewDomain passwd
SEE ALSO
Commands: make(1), makedbm(8), yppush(8), ypserv(8), ypxfr(8)
Files: ypfiles(4)
 |
Index for Section 8 |
|
 |
Alphabetical listing for Y |
|
 |
Top of page |
|