Disabling NIS

Before we finish this chapter, we'll look at the steps needed to disable NIS. This is actually quite easy to do, since there are only a few tasks that need to be completed. These will differ depending on whether we want to disable it completely, or, for example, demote a server to a client and so forth.

We also need to remember that we've been relying on NIS to supply most of our administration files, so we may need to copy them over to their correct locations before we disable NIS. Otherwise, we may have login failures, nonexistent user problems, and so on.

Let's look at some of the options we have and what we would need to do in each case.

Disabling a Slave Server

We've already explained that servers run both ypserv and ypbind ...

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.