Networking Guide
Chapter 7, Configuring the Network Information Service (NIS)

Removing an NIS server from the server list

Removing an NIS server from the server list

To remove a slave or copy-only server from an NIS domain:

  1. Remove the NIS package from the server using the Software Manager.

  2. Edit the ypservers map on the master server and propagate it to other servers.


CAUTION: Do not use the following procedure to remove a master server. If you do, you must reconfigure your NIS network. Rather, refer to ``Changing the master NIS server''.

When SCO NIS is removed from a system, the /etc/passwd.local file is removed. The /etc/passwd file, which under NIS included both distributed and local accounts, becomes the authoritative password file. This means that distributed NIS accounts become regular user accounts when NIS is removed. If you want to restrict users with distributed NIS accounts from using the old server, you must remove their accounts before returning the old server to multiuser mode.


NOTE: Although you can prevent NIS maps from reaching a server by killing its NIS daemon processes, the master still attempts to reach the server during map propagation, adding an unnecessary burden to the system. For this reason, you should remove NIS from the server.

Follow these steps to remove a server:

  1. Log into the old server in system maintenance mode.

  2. Run the Software Manager (or custom) to remove the following NIS packages:

  3. If necessary, modify or retire previously distributed accounts; refer to ``Adding and modifying user accounts'' in the System Administration Guide or ``Removing or retiring a user account'' in the System Administration Guide for more information.

  4. If necessary, remove root's crontab entries for NIS map transfers.

  5. Reboot the system and return to multiuser mode. If kernel parameters were adjusted when NIS was removed, you are also prompted to relink the kernel.

  6. Log into the master server in multiuser mode.

  7. Edit the ypservers map to remove the old server's name and propagate the changed map to other servers. See ``Modifying existing maps'' for the procedure for editing and propagating an existing map. The ASCII file for the ypservers map is located at /etc/yp/ypservers.