EasyManua.ls Logo

Red Hat DIRECTORY SERVER 7.1 - Command-Line Scripts Quick Reference

Default Icon
334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command-Line Scripts Quick Reference
256 Red Hat Directory Server Configuration, Command, and File Reference • May 2005
Command-Line Scripts Quick Reference
NOTE In order to execute the Perl scripts, you must change to the directory
where the scripts are stored. Although it is possible to set
command-path and library-path variables to execute the scripts, it is
not recommended because you run the risk, particularly when you
have more than one server version installed, of disrupting the
correct execution of other utilities. There is also the risk of
compromising the security of the system.
(The same procedure also applies to the command-line utilities
discussed in chapter 7, “Command-Line Utilities.”)
Table 8-1 Commonly Used Command-Line Shell Scripts
Command-Line
Script
Description Location
bak2db Restores the database from the most recent archived
backup.
serverRoot/slapd-serverID
db2bak Creates a backup of the current database contents. serverRoot/slapd-serverID
db2ldif Exports the contents of the database to LDIF. serverRoot/slapd-serverID
db2dsml Exports the contents of the database to DSML. serverRoot/slapd-serverID
db2index Reindexes the database index files. serverRoot/slapd-serverID
dsml2db Imports DSML file to the database. serverRoot/slapd-serverID
getpwenc Prints the encrypted form of a password using one
of the server’s encryption algorithms. If a user
cannot log in, you can use this script to compare the
user’s password to the password stored in the
directory.
serverRoot/slapd-serverID
ldif2db Imports LDIF files to the database.
Runs the ns-slapd command-line utility with the
ldif2db keyword. By default, the script first saves
and then merges any existing configuration tree
(o=NetscapeRoot) with any files to be imported.
serverRoot/slapd-serverID
ldif2ldap Performs an import operation over LDAP to the
Directory Server.
serverRoot/slapd-serverID

Table of Contents

Other manuals for Red Hat DIRECTORY SERVER 7.1

Related product manuals