For fuller descriptions of NIS+ setup and administration, see
Double-click the Create NIS+ server action in the System_Admin folder.
See "To Run a Script from the System_Admin Folder" if you are unfamiliar with using trusted actions.
Enter your NIS+ domain name.
This workstation will be the root master. For example,
Domain Name: aviary.eco.org. |
There is a period at the end of the domain name.
Answer the prompts ( y, y, rootpassword).
You can ignore diagnostics printing out that the file /etc/defaultdomain cannot be located. The file will be created.
In the /setup/files directory, make sure that you have added all NIS+ clients to the hosts file.
# cd /setup/files # more hosts |
Populate the standard NIS+ databases from the /setup/files directory by running the Populate NIS+ Tables action.
Enter your staging area when prompted.
Populate from which directory? /setup/files |
Answer the prompts (y, y).
... Is this information correct? y ... Do you want to continue? y |
Add the Trusted Solaris roles and system administrators to the NIS+ admin group.
# nisgrpadm -a admin admin secadmin |
The first admin is the name of a NIS+ table. The last two arguments are the names of Trusted Solaris administrative roles, admin and secadmin.
Load any additional NIS+ tables you may have backed up.
Procedures vary depending on the format of the backup and on what types of NIS+ tables they are. Refer to the NIS+ and DNS Setup and Configuration Guide for details of how to load your tables.