Modifying existing maps
To modify an existing map:
All map databases and their ASCII source files should reside
on the master server.
Edit the ASCII source file for the map.
Run the ypmake command on the map
to remake the map from the ASCII source file
and propagate it to slave servers.
If the ASCII source file becomes unavailable, you can remake it
from the NIS map by entering the following:
./makedbm -u mapname > /etc/mapname
Following is an example for modifying the hosts map from its
ASCII source file /etc/hosts.
Use ypmake without arguments to modify and propagate
all maps automatically.
Log into the master server.
Edit the /etc/hosts file.
Issue the following commands to rebuild and propagate the map:
Run ypmake or make only on the master server;
unpredictable behavior in the NIS map set may result if they
are run on slave or copy-only servers.
Creating new maps
Creating NIS maps
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003