Naming Services and Autofs

We've already mentioned that Autofs can be incorporated into a naming service. This allows a whole series of maps to be administered centrally. This can save system administrators a lot of time, since they will not have to have maps copied around the network to the correct machines. There are, however, a number of things we need to be aware of first.

We need to make the usual changes to /etc/nsswitch.conf. The following entry will tell automount to use NIS, followed by the local /etc files:

lithium# grep automount /etc/nsswitch.conf
automount: nis files
lithium#

NIS supports two existing maps: auto_master and auto_home. This means that we'll need to create entries in the NIS Makefile for any custom maps we have created ...

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.