NFS Services Administrator's Guide
Configuring and Administering NIS+
Administering NIS+
Chapter 5 261
To Remove an NIS+ Domain
• Issue the following commands to remove an NIS+ domain:
nisrmdir org_dir.domainname
nisrmdir groups_dir.domainname
nisrmdir domainname
You must remove the org_dir and groups_dir directories before
you remove the domain directory. You will not be able to remove the
org_dir and groups_dir subdirectories if you remove the domain
directory first.
The nisrmdir command dissociates all servers from the domain and
removes the domain directory.
You must have destroy permission for the parent domain in order to
remove a subdomain.
For more information, see the following man pages: nisrmdir(1) and
nis(1).