To remove a slave or copy-only server from an NIS domain:
Remove the NIS package from the server using the
Software Manager.
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:
Log into the old server in system maintenance mode.
Run the Software Manager (or custom) to remove
the following NIS packages:
NISRT
NISMAN
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.
If necessary, remove root'scrontab entries
for NIS map transfers.
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.
Log into the master server in multiuser mode.
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.