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

mail.byaddr mastername
mail.aliases mastername
netgroup.byhost mastername
netgroup.byuser mastername
netgroup mastername
protocols.byname mastername
protocols.bynumber mastername
servi.bynp mastername
services.byname mastername
rpc.byname mastername
rpc.bynumber mastername
networks.byaddr mastername
networks.byname mastername
ipnodes.byaddr mastername
ipnodes.byname mastername
hosts.byaddr mastername
hosts.byname mastername
group.bygid masternamegroup.byname mastername
passwd.byuid mastername
passwd.byname mastername
ypservers mastername
where:
mastername
is the name of the local host. For example, in an NIS network, if the
hostname of the master server is mammoth, mastername in the previous
output will be replace by the hostname, that is, mammoth.
Configuring the NIS Master Server to Use a Private passwd File
This section describes how to configure the NIS master server to use a private passwd
file by creating a restricted /etc/passwd file that can be used only by the NIS master
server. The restricted /etc/passwd.yp file can be used to generate the NIS passwd
maps, which are used by the other hosts in the NIS domain.
IMPORTANT: Back up the /etc/passwd file and the /etc/rc.config.d/namesvrs
file, before you perform the steps described in this section.
To configure the NIS master server to use a private passwd file, complete the following
steps:
1. Log in to the NIS master server as a superuser.
2. Copy the /etc/passwd file to the /etc/passwd.yp file.
32 Configuring and Administering an NIS Master Server