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

  man pages->IRIX man pages -> ypinit (1)              
Title
Content
Arch
Section
 

Contents


ypinit(1M)							    ypinit(1M)


NAME    [Toc]    [Back]

     ypinit - build and	install	NIS database

SYNOPSIS    [Toc]    [Back]

     /var/yp/ypinit -m [-y] [-d	domainname] [-f	source_dir] [-l	slave[,slave]]
     /var/yp/ypinit -s master_name [-y]	[-d domainname]
     /var/yp/ypinit -c [-d domainname]

DESCRIPTION    [Toc]    [Back]

     ypinit sets up network information	service	(NIS) on a system.  It can be
     used to set up a client or	a master or slave server.  You must be the
     superuser to run it.  It asks a few self-explanatory questions, and
     reports success or	failure	to the terminal.

     It	sets up	a master server	using the simple model in which	that server is
     master to all maps	in the data base.  This	is the way to bootstrap	the
     NIS system; later if you want, you	can change the association of maps to
     masters.  All databases are built from scratch, either from information
     available to the program at runtime, or from the ASCII data base files in
     /etc.  The	location may be	overridden using the -f	argument.  These files
     are listed	below under FILES.  All	such files should be in	their
     "traditional" form, rather	than the abbreviated form used on client
     machines.

     An	NIS database on	a slave	server is set up by copying an existing
     database from a running server.  The master_name argument should be the
     hostname of the NIS master	server.

     Refer to ypfiles(4) and ypserv(1M)	for an overview	of NIS.

OPTIONS    [Toc]    [Back]

     -c	  Sets up a client.

     -m	  Indicates that the local host	is to be the NIS master.

     -s	master
	  Set up a slave database, copying the database	files from master.

     -d	domain
	  Setup	database for the given domain.	If not given it	uses the
	  currently set	domainname.

     -f	source_dir
	  Allows the location of the source files to be	overridden.  This is
	  only for ypinit, to permanently set this value edit the file
	  /etc/options/ypmaster.options.  See ypmake(1)	for details.

     -l	slave1,slave2,...
	  Allows the list of slave servers to be given on the command line as
	  a comma separated list of names.  If not given on the	command	line
	  you will be prompted for this	list.




									Page 1






ypinit(1M)							    ypinit(1M)



     -y	  Remove any previously	existing database.  If not given you will be
	  prompted if a	database directory already exists.

FILES    [Toc]    [Back]

     /etc/aliases
     /etc/bootparams
     /etc/capability
     /etc/clearance
     /etc/ethers
     /etc/group
     /etc/hosts
     /etc/mac
     /etc/netgroup
     /etc/networks
     /etc/passwd
     /etc/protocols
     /etc/rpc
     /etc/services

SEE ALSO    [Toc]    [Back]

      
      
     makemdbm(1M), ypmake(1M), yppush(1M), ypserv(1M), ypxfr(1M), ypfiles(4).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
ypinit Linux NIS database install and build program
ypinit FreeBSD build and install NIS databases
dh_installdocs Linux install documentation into package build directories
dh_installexamples Linux install example files into package build directories
dh_installman Linux install man pages into package build directories
dh_installchangelogs Linux install changelogs into package build directories
dh_install Linux install files into package build directories
dh_installinit Linux install init scripts into package build directories
dh_installmime Linux install mime files into package build directories
ypinit HP-UX build and install Network Information Service databases
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service