System Administration Guide: Naming and Directory Services (NIS+)

ProcedureHow to Remove NIS+ That Was Installed Using NIS+ Commands

  1. Remove the .rootkey file.


    client# rm -f /etc/.rootkey
  2. Stop the keyserver.


    client# svcadm disable /network/rpc/keyserv
  3. Stop the NIS+ service.

    This stops the rpc.nisd daemon and the nis_cachemgr.


    client# svcadm disable /network/rpc/nisplus:default
  4. Stop the name service cache (nscd).


    client# svcadm disable /system/name-service-cache:default
  5. Remove the /var/nis directory and files.


    clientmachine# rm -rf /var/nis/*