Since this procedure is essentially the same as the procedure shown in How to Populate the NIS+ Root Master Server Tables, this example shows you only what you would type to populate the tables of the new sales.doc.com. domain. For more information about this procedure, see How to Populate the NIS+ Root Master Server Tables.
This script should be run on the new domain's master server, not the root master server.
The alternate methods of populating the master server tables on the new master server are:
You can populate master server tables from files.
You can populate master server tables from NIS maps.
The information that you need to gather depends upon whether you are populating from files or from NIS maps.
Whichever method you choose should be executed in a scrolling window as the script's output might otherwise scroll off the screen.
If populating from files, you need the following information.
The new NIS+ domain name
The path of the appropriately edited text files whose data will be transferred
The root password of the NIS+ master server
To populate master server tables from files, type the following commands.
client2# nispopulate -F -p /nis+files -d sales.doc.com. NIS+ domain name : sales.doc.com. Directory Path : /nis+files Is this information correct? (type 'y' to accept, 'n' to change |
If populating from NIS maps, you need the following information.
The new NIS+ domain name
The NIS domain name
The NIS server's name
The IP address of the NIS server
The root password of the NIS+ master server
The NIS domain name is case-sensitive, while the NIS+ domain name is not.
To populate master server tables from NIS maps, type the following commands.
client2# nispopulate -Y -d sales.doc.com. -h businessmachine -a IP_addr_of_NIS_server -y business.doc.com. NIS+ Domain name : sales.doc.com. NIS (YP) domain : business.doc.com. NIS (YP) server hostname : businessmachine Is this information correct? (type 'y' to accept, 'n' to change) |
See How to Populate the NIS+ Root Master Server Tables for additional information.