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

networks.byname mastername
ipnodes.byaddr mastername
ipnodes.byname mastername
hosts.byaddr mastername
hosts.byname mastername
group.bygid mastername
group.byname mastername
passwd.byuid mastername
passwd.byname mastername
ypservers mastername
On an NIS network with master server whose hostname is mammoth, the mastername is
replaced by the hostname mammoth.
If the output is not displayed, see ypwhich (1).
Guidelines for Changing Passwords in the NIS Domain
This section provides guidelines for changing passwords in the NIS domain.
All users in the NIS domain must adhere to the following rules when changing their
password:
Use the /usr/bin/yppasswd file or the passwd -r nis command, instead of
the passwd command to change the login passwords.
When changing the password, users are encouraged to change their password just
before they leave for the day. This provides time for the updated NIS maps on the
master server to be replicated to the slave servers.
The yppasswd command is linked to the passwd -r nis command. It modifies the
passwd file on the NIS master server, regenerates the NIS passwd maps from the
updated passwd file, and replicates the NIS passwd maps on the slave servers.
For more information, see yppasswd(1), yppasswdd(1M), passwd(1), ypxfr(1M), and
yppush(1M).
Preventing an NIS Client from Binding to Unknown Servers
To prevent an NIS client from binding to unknown servers, complete the following
steps:
1. Create the following file if it does not already exist:
/var/yp/secureservers
2. Add lines to the /var/yp/secureservers file with the following syntax:
address_mask IP_address
where:
Guidelines for Changing Passwords in the NIS Domain 55