*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ypmake (8)              



NAME    [Toc]    [Back]

       ypmake   -   rebuild  Network  Information  Service  (NIS)
       database using the make command

SYNOPSIS    [Toc]    [Back]

       cd /var/yp make [options] [map]

OPTIONS    [Toc]    [Back]

       The options argument can be used to override  the  default
       values  of three special variables used by make: Instructs
       make to use the source files in the  specified  directory.
       The default is /var/yp/src.  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.  Specifies
 the database routines used to store NIS  maps.   The
       choices  are: btree -- Recommended when creating and maintaining
 very large maps.  dbm/ndbm -- For backward compatibility.
   This  is  the  default.   hash -- A potentially
       quicker method for managing  small  maps.   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    [Toc]    [Back]

       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


       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    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       Commands:  make(1),  makedbm(8),   yppush(8),   ypserv(8),

       Files: ypfiles(4)

[ Back ]
 Similar pages
Name OS Title
ypmake HP-UX create or rebuild Network Information Service databases
makedbm HP-UX make a Network Information System database
ypfiles HP-UX Network Information Service database and directory structure
ypfiles Tru64 Network Information Service (NIS) database and directory structure
yppush HP-UX force propagation of Network Information Service database
yppasswdd HP-UX daemon for modifying Network Information Service passwd database
nis_intro Tru64 Network Information Service (NIS) introductory information
nis HP-UX a new version of the network information name service
nis+ HP-UX a new version of the network information name service
NIS+ HP-UX a new version of the network information name service
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service