Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Apropos / Subsearch:
optional field

 ypinit(1M)							  ypinit(1M)

      ypinit - build and install Network Information Service databases

      /usr/sbin/ypinit -m [DOM=NIS_domain]

      /usr/sbin/ypinit -s NIS_server_name [DOM=NIS_domain]

      The Network Information Service (NIS) was formerly known as Yellow
      Pages (yp).  Although the name has changed, the functionality of the
      service remains the same.

      ypinit is a shell script that creates Network Information Service
      (NIS) databases on either a master or slave NIS server.  ypinit asks a
      few self-explanatory questions, and reports success or failure to the
      terminal.	 For an overview of Network Information Service, see
      ypfiles(4) and ypserv(1M).

      ypinit recognizes the following options and command-line arguments:

	   -m		       Create the local host as the master server to
			       all maps (databases) provided in the NIS
			       domain (see domainname(1)).  All maps are
			       built from scratch, either from information
			       provided to ypinit at run-time, or from ASCII
			       files in /etc.  All such files should be
			       complete and unabbreviated, unlike how they
			       may exist on a NIS client machine (see
			       passwd(4) for examples of abbreviated files).

			       See ypmake(1M) for more information on how
			       NIS databases are built on the master server.
			       Note that ypinit uses the NOPUSH=1 option
			       when invoking make, so newly formed maps are
			       not immediately copied to slave servers (see

	   -s		       Create NIS databases on a slave server by
			       copying the databases from an existing NIS
			       server that serves the NIS domain.

			       The NIS_server_name argument should be the
			       host name of either the master server for all
			       the maps or a server on which the maps are
			       current and stable.

	   DOM=NIS_domain      Causes ypinit to construct maps for the
			       specified NISdomain.  DOM defaults to the NIS

 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000

 ypinit(1M)							  ypinit(1M)

			       domain shown by the domainname command (see

      ypinit returns exit code 0 if no errors occur; otherwise, it returns
      exit code 1.

      ypinit was developed by Sun Microsystems, Inc.


      domainname(1), makedbm(1M), ypmake(1M), yppush(1M), ypserv(1M),
      ypxfr(1M), ypxfrd(1M), group(4), hosts(4), netgroup(4), networks(4),
      passwd(4), protocols(4), publickey(4), rpc(4), services(4),

 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000