NIS Maps

The following list shows the “important” administration files that will be brought under the control of NIS so we know which ones we need to be concerned with:

  • /etc/aliases

  • /etc/auto_home

  • /etc/auto_master

  • /etc/bootparams

  • /etc/ethers

  • /etc/group

  • /etc/hosts

  • /etc/netgroup

  • /etc/netmasks

  • /etc/networks

  • /etc/passwd

  • /etc/protocols

  • /etc/rpc

  • /etc/services

  • /etc/timezone

To do this, they are imported into NIS and stored as a series of database files under the NIS data directory, /var/yp. These database files are known as the “NIS maps” and are based on a simple database format known as “dbm,” which stores and indexes its data in files using the following naming convention:

  • <filename>.pag (this contains the data)

  • <filename>.dir (this is an index to the .pag file) ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.