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

Build the Master Server

Now we'll configure the machines that are part of the NIS domain. The first step is to get the master (tin, in this case) up and running.

Let's first set the domain name and also make sure it's retained across reboots by adding it to the /etc/defaultdomain file:

tin# domainname nis.solarisbootcamp.com
tin# domainname > /etc/defaultdomain
tin# domainname
nis.solarisbootcamp.com
tin#

Now let's run ypinit to initialize the master. This will prompt us to enter the list of servers we will use, so we'll add them all at this point. This information is stored in a map named ypservers, which is known as the server map. For now we'll add the servers to this map by passing them onto ypinit, but later we'll see how to update the ...

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