Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypmake(8yp) [ultrix man page]

ypmake(8yp)															       ypmake(8yp)

Name
       ypmake - rebuild yellow pages (YP) database using the make command

Syntax
       cd /etc/yp
       make [ options ] [ map ]

Description
       The  command  uses  the to build the yellow pages database.  With no arguments, creates databases for any YP maps that are out-of-date, and
       then executes to notify slave databases that there has been a change.  It is important to note that the command should only be executed	at
       a  YP  master  server  machine.	If it is executed from either a slave server or a pure YP client machine, the created changes will only be
       overwritten when the next YP master server machine update, using is performed.

       The options argument can be used to change the default values of three special variables used by DIR , NOPUSH , and DOM .  The DIR variable
       instructs  to  give  the  directory  of the source files.  The NOPUSH variable, which when non-null, inhibits updating of the new data base
       files using the function.  The DOM variable, instructs to construct a domain other than the master's default domain.  The default  for  DIR
       is  and	the default for NOPUSH is the null string.  To change 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 to update only the specified map.  The specified maps are those	located  at  where
       {domain}  is  the  yellow  pages domain name.  Some typical entries for the map argument are passwd, hosts, and networks.  Typing causes to
       create and update the YP password database, if it is out of date.  The command updates the password data base using Therefore, typing
       make host
       or
       make networks
       causes to create and to update the host and network files, and respectively.

       See and for an overview of the yellow pages.

Examples
       This example causes to create a password yellow pages map for the domain instead of for the default domain:
       make DOM=NewDomain passwd

See Also
       make(1), makedbm(8yp), ypserv(8yp), yppush(8yp)

																       ypmake(8yp)

Check Out this Related Man Page

ypmake(1M)						  System Administration Commands						ypmake(1M)

NAME
ypmake - rebuild NIS database SYNOPSIS
cd /var/yp ; make [map] DESCRIPTION
The file called Makefile in /var/yp is used by make(1S) to build the Network Information Service (NIS) database. With no arguments, make creates dbm databases for any NIS maps that are out-of-date, and then executes yppush(1M) to notify slave databases that there has been a change. If you supply a map on the command line, make will update that map only. Typing make passwd will create and yppush the password database (assuming it is out of date). Likewise, make ipnodes and make networks will create and yppush the ipnodes and network files, $(INET- DIR)/ipnodes and $(DIR)/networks. There are four special variables used by make: DIR, which gives the directory of the source files; NOPUSH, which when non-null inhibits doing a yppush of the new database files; INETDIR, which gives the directory of the ipnodes source file; and DOM, which is used to con- struct a domain other than the master's default domain. The default for DIR is /etc, and the default for INETDIR is /etc/inet. The default for NOPUSH is the null string. Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS service. If a NIS to LDAP (N2L) configuration file, /var/yp/NISLDAPmapping, is present, the NIS server components run in N2L mode. In N2L mode, the server components use a new set of map files with an LDAP-prefix, based on the LDAP DIT. In N2L mode, authoritative NIS information is obtained from the DIT. The NIS source files and ypmake have no role, and they should not be used. If ypmake is accidentally run, then the server components will detect this, and will log a warning message. For additional information, see ypfiles(4). FILES
/var/yp Directory containing NIS configuration files. /etc/inet/hosts System hosts file. /etc Default directory for source files. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWypu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
make(1S), nis+(1), makedbm(1M), rpc.nisd(1M), ypbind(1M), yppush(1M), ypserv(1M), ypclnt(3NSL), NISLDAPmapping(4), ypfiles(4), ypserv(4) NOTES
The NIS makefile is only used when running the ypserv(1M) server to provide NIS services. If these are being provided by the NIS+ server running in NIS compatibility mode, see rpc.nisd(1M); this makefile is not relevant. See ypfiles(4) for more details. The Network Information Service (NIS) was formerly known as Sun Yellow Pages (YP). The functionality of the two remains the same. Only the name has changed. The name Yellow Pages is a registered trademark in the United Kingdom of British Telecommunications plc, and may not be used without permission. SunOS 5.11 17 Aug 2006 ypmake(1M)
Man Page