DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

nis(NADM)


nis -- NIS start/stop script

Syntax

/etc/nis start

/etc/nis stop

Description

The /etc/nis command starts or stops the Network Information Service (NIS) software. NIS will start automatically at system startup time if /etc/nis is linked to /etc/rc2.d/Sname Similarly, NIS will stop automatically at system shutdown time if /etc/nis is linked to /etc/rc0.d/Kname See rc0(ADM) and rc2(ADM) for further information.

/etc/nis is initialized by using the ypinit(NADM) commands or mkdev nis. These commands are also recommended if you need to make changes to the NIS configuration. The script uses the following shell variables to start NIS:


YPDOMAIN
Defines the domain name. See domainname(NC).

YPSERVER
Defines the type of NIS server that will be started. Values are:

master
Master server. The ypbind(NADM), ypserv(NADM), and ypxfrd(NADM) daemons are started. By default, the yppasswdd(NADM) daemon is not started.

slave
Slave server. The ypbind(NADM), ypserv(NADM), and ypxfrd(NADM) daemons are started.

copyonly
Copy-only server. The ypbind(NADM), ypserv(NADM), and ypxfrd(NADM) daemons are started.

NULL
NIS client. The ypbind(NADM) daemon is started.

YPBIND_OPTION
Defines the arguments that should be passed to ypbind(NADM). For more information, see the ypbind manual page.

YPSERV_OPTION
This defines the arguments that should be passed to ypserv(NADM). For more information, see the ypserv manual page.

See also

domainname(NC), ypbind(NADM), yppasswdd(NADM), ypserv(NADM), ypxfrd(NADM)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005