Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Naming and Directory Services (NIS+) |
Part I About Naming and Directory Services
Part II NIS+ Setup and Configuration
4. Configuring NIS+ With Scripts
5. Setting Up the NIS+ Root Domain
8. Configuring an NIS+ Non-Root Domain
10. NIS+ Tables and Information
12. Administering NIS+ Credentials
14. Administering Enhanced NIS+ Security Credentials
15. Administering NIS+ Access Rights
16. Administering NIS+ Passwords
18. Administering NIS+ Directories
20. NIS+ Server Use Customization
Removing NIS+ From a Client Machine
Removing NIS+ That Was Installed Using nisclient
Removing NIS+ That Was Installed Using NIS+ Commands
How to Remove NIS+ That Was Installed Using NIS+ Commands
How to Remove the NIS+ Namespace
23. Information in NIS+ Tables
Common NIS+ Namespace Error Messages
This section describes how to remove NIS+ from an NIS+ server.
Keep in mind that removing NIS+ from a server does not remove the NIS+ name service from your network. See Removing the NIS+ Namespace for information on removing the NIS+ name service from a network and returning to either NIS or /etc files for naming purposes.
Note - You can replace a machine that you are using as an NIS+ server with another machine. See Replacing NIS+ Server Machines.
To remove NIS+ from a server, follow these steps:
An NIS+ server is also an NIS+ client. This means that you must first remove the client-related part of NIS+. You can use nisclient -r as described in Removing NIS+ That Was Installed Using nisclient or the NIS+ command set as described in Removing NIS+ That Was Installed Using NIS+ Commands.
server# nisrmdir -f groups_dir.domainname server# nisrmdir -f org_dir.domainname
client# svcadm disable /network/rpc/keyserv
This kills the rpc.nisd daemon and the nis_cachemgr.
server# svcadm disable /network/rpc/nisplus:default
server# svcadm disable /system/name-service-cache:default
rootmaster# rm -rf /var/nis/*