O'Reilly logo

Solaris™ Operating Environment Boot Camp by Dominic Butler, David Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required