Red Hat Directory Server 8.0 Administrator's Guide

entries, use Ctrl or Shift.
3. Select Delete from the Edit menu.
WARNING
The server deletes the entry or entries immediately. There is no way to undo the
delete operation.
2. Managing Entries from the Command-Line
The command-line utilities allow you to manipulate the contents of your directory. They can be
useful to write scripts to perform bulk management of the directory or to test the Directory
Server. For example, you might want to ensure that it returns the expected information after you
have made changes to access control information.
With command-line utilities, information can be provided directly from the command-line or
through an LDIF input file.
Section 2.1, “Providing Input from the Command-Line”
Section 2.2, “Creating a Root Entry from the Command-Line”
Section 2.3, “Adding Entries Using LDIF”
Section 2.4, “Adding and Modifying Entries Using ldapmodify”
Section 2.5, “Deleting Entries Using ldapdelete”
Section 2.6, “Using Special Characters”
NOTE
You cannot modify your directory unless the appropriate access control rules
have been set. For information on creating access control rules for your
directory, see Chapter 6, Managing Access Control.
2.1. Providing Input from the Command-Line
When you provide input to the ldapmodify and ldapdelete
1
utilities directly from the
command-line, you must use LDIF statements. For detailed information on LDIF statements,
Chapter 2. Creating Directory Entries
24