Network Information Service (NIS) B.11.31.04 Administrator's Guide

B NIS Configuration File /etc/rc.config.d/namesvrs
The /etc/rc.config.d/namesvrs file is the main NIS configuration file, through
which NIS services can be enabled or disabled, and appropriate options can be provided
for the NIS service. It also contains a list of the NIS maps built in the domain.
The following lists the/etc/rc.config.d/namesvrs file:
#
# @(#)B.11.31_LR namesvrs $Revision: $
#
# (C) Copyright 1998, 2000-2006 Hewlett-Packard Development Company, L.P.
unset UNIX95
PRE_U95=true;export PRE_U95;
# The DNS variables "NAMED" and "NAMED_ARGS" are removed from this file.
# These variables are now available in the file /etc/rc.config.d/namesvrs_dns.
##########################################################
# NIS (YP) configuration. See domainname(1), ypserv(1m) #
##########################################################
#
# Name server using Network Information Service protocol (Sun's ONC)
#
# NIS_MASTER_SERVER: 1 if this node is the master NIS server, 0 if not.
# NIS_SLAVE_SERVER: 1 if this node is a slave NIS server, 0 if not.
# NIS_CLIENT: 1 if this node is a NIS client, 0 if not.
# NISDOMAIN: the NIS domain name (see domainname(1)).
# NISDOMAIN_ERR: ???
# MAX_NISCHECKS= max number of bind attempts the NIS client will make
# YPSERV_OPTIONS command line options for ypserv
# YPBIND_OPTIONS command line options for ypbind
# YPPASSWDD_OPTIONS command line options for yppasswdd
# KEYSERV_OPTIONS command line options for keyserv
# YPUPDATED_OPTIONS command line options for ypupdated
# YPXFRD_OPTIONS command line options for ypxfrd
# YPSET_ADDR IP addr or name of NIS server. Must set YPBIND_OPTIONS
# to "-ypset"
# LONGNAMES_OPTIONS
# SHORTNAMES_OPTIONS
# SHADOW_MODE 1 if shadow mode is to be enabled, 0 if not.
#
# Note: - Setting SHADOW_MODE is one of the criteria for deciding whether
# the system should be in shadow mode or standard mode. Applications
# ultimately checks for the existence of a shadow file also to
# determine the mode of the system.
#
# Note: - NIS_MASTER_SERVER and NIS_SLAVE_SERVER are mutually exclusive,
# i.e., only one, not both, should be set if either is set.
# - All NIS servers must also be NIS clients, so if you set either
# NIS_MASTER_SERVER or NIS_SLAVE_SERVER to 1, you should set
# NIS_CLIENT to 1, too.
# - Refer to NFS administration manual and ypinit(1M) for the
# steps required to create NIS servers.
#
# MAX_NISCHECKS
# The maximum number of bind attempts the
# NIS client will make for a NIS server to be
# available before shutting down NIS and
# booting without it. This value should
# not be less than 2.
71