Skip Headers
Oracle® Fusion Middleware User Reference for Oracle Identity Management
11g Release 1 (11.1.1)
E10035-02
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

1 Command-Line Tools Overview

This chapter provides useful information about using the command-line tools available for Oracle Identity Management. It contains the following topics:

1.1 Using Passwords with Command-Line Tools

Many command-line tools require you to authenticate by providing a password. In some cases, you can provide the password in either of two ways:

For security reasons, avoid supplying a password on the command line whenever possible. A password typed on the command line is visible on your screen and might appear in output from the ps command or in log files. When you supply a password at a prompt, it is not visible on the screen, in output from the ps command, or in log files.

The LDAP tools have been modified to disable the options -w password and -P password when the environment variable LDAP_PASSWORD_PROMPTONLY is set to TRUE or 1. If you use -q or -Q, respectively, the command prompts you for the user password or wallet password. Set this environment variable whenever possible. This feature affects the behavior of the following tools:


Note:

When you use the -q or -Q option and redirect or pipe the output of an LDAP command, you do not see the prompt on the command line. The command still accepts the password you provide.

If you use the -w password option with an LDAP tool when the environment variable LDAP_PASSWORD_PROMPTONLY is set to true, you see the following error message, followed by command usage help.

Command-line passwords are disabled for LDAP commands.
Use -q option instead of -w <password>. You are prompted for the password.*

Similarly, If you use the -P password option with an LDAP tool when the environment variable LDAP_PASSWORD_PROMPTONLY is set to true, you see the following error message, followed by command usage help.

Command-line passwords are disabled for LDAP commands.
Use -Q option instead of -P <password>. You are prompted for the password.

1.2 Configuring Your Environment

Before you begin using the Oracle Identity Management command-line tools, you must configure your environment. This involves setting the appropriate environment variables.

The syntax and examples provided in this guide require that you have the following environment variables set:

1.3 Oracle Identity Management Command-Line Tool Categories

The Oracle Identity Management command-line tools are organized into the following categories: