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
Using the niscat Command With NIS+ Directories
Listing the Object Properties of an NIS+ Directory
Using the nisls Command With Directories
Listing the Contents of an NIS+ Directory - Terse
Listing the Contents of an NIS+ Directory - Verbose
Adding an NIS+ Replica to an Existing Directory
Disassociating a Replica From an NIS+ Directory
Changing rpc.nisd Syntax Options
Three Methods to Initialize an NIS+ Client
Initializing the NIS+ Root Master Server
Starting and Stopping the NIS+ Cache Manager
Displaying the Contents of the NIS+ Cache
Pinging and Checkpointing in NIS+
Displaying When NIS+ Replicas Were Last Updated
Checkpointing an NIS+ Directory
Displaying the Contents of the NIS+ Transaction Log
Changing the Time-to-Live of an NIS+ Object
Changing the Time-to-Live of an NIS+ Table Entry
20. NIS+ Server Use Customization
23. Information in NIS+ Tables
Common NIS+ Namespace Error Messages
The nisrm command is similar to the standard rm system command. It removes any NIS+ object from the namespace, except directories and nonempty tables. To use the nisrm command, you must have destroy rights to the object. However, if you don't, you can use the -f option, which tries to force the operation in spite of permissions.
You can remove group objects with the nisgrpadm -d command (see Deleting an NIS+ Group), and you can empty tables with nistbladm -r or nistbladm -R (see Deleting an NIS+ Table).
To remove a nondirectory object, use:
nisrm [-if] object-name
Table 18-2 nisrm Syntax Options
|
To remove nondirectory objects, use the nisrm command and provide the object names:
nisrm object-name...
This example removes a group and a table from the namespace:
rootmaster% nisrm -i admins.doc.com. groups.org_dir.doc.com. Remove admins.doc.com.? y Remove groups.org_dir.doc.com.? y