Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Naming and Directory Services (NIS+) |
Part I About Naming and Directory Services
Part II NIS+ Setup and Configuration
4. Configuring NIS+ With Scripts
5. Setting Up the NIS+ Root Domain
8. Configuring an NIS+ Non-Root Domain
Append, Replace, and Merge Options to NIS+ Table Population
Populating NIS+ Tables From Files
Security Considerations When Populating NIS+ Tables From Files
How to Populate NIS+ Tables From Files
Populating NIS+ Tables From NIS Maps
Security Considerations When Populating Tables From NIS Maps
How to Populate Tables From Maps
Limiting Access to the Passwd Column to NIS+ Owners and Administrators
How to Limit Read Access to the Passwd Column
NIS+ Table Population Summaries
10. NIS+ Tables and Information
12. Administering NIS+ Credentials
14. Administering Enhanced NIS+ Security Credentials
15. Administering NIS+ Access Rights
16. Administering NIS+ Passwords
18. Administering NIS+ Directories
20. NIS+ Server Use Customization
23. Information in NIS+ Tables
Common NIS+ Namespace Error Messages
This task transfers the contents of NIS+ tables into NIS maps on a Solaris 1 NIS master server.
Transfer information from NIS+ tables to NIS maps on a Solaris 1 master server.
Log in to the NIS+ server.
Transfer the NIS+ tables in to output files.
Transfer the contents of the output files to the NIS maps.
To perform this task, you must have read access to each table whose contents you transfer.
The maps must already have been built on the NIS server.
This example uses the server named dualserver.
Use the nisaddent command with the -d option, once for each table.
dualserver% /usr/lib/nis/nisaddent -d -t table tabletype > filename
The -d option transfers the contents of table to filename, converting the contents back to standard /etc file format.
The NIS+ output files are ASCII files that you can use as input files for the NIS maps. Copy them into the NIS master's /etc directory, then use make as usual.
dualserver# cd /var/yp dualserver# make