User's Manual

Enterprise User Security Configuration and Management Tools
Conguration and Administration Tools Overview 2-31
Enterprise Security Manager Command-Line Utility
Enterprise Security Manager provides a command-line utility, which can be used to
perform the most common tasks that the graphical user interface tool performs.
Enter all Enterprise Security Manager command-line utility commands from the
Oracle Enterprise Manager Oracle home.
The basic syntax for this utility is as follows:
esm -cmd [operation] [-option_1 -option_2 -option_3 ... -option_n]
For example, the following command searches for users in a directory that is
installed on a host machine named machine1.us.acme.com:
esm -cmd search -U SIMPLE -D orcladmin -w Y4ilbqve -h machine1.us.acme.com
-p 3060 -dn dc=us,dc=acme,dc=com -objectType user
The following table describes each option used in this example:
Accessing Enterprise Security Manager Command-Line Utility Help To view a full list of
operations and options you can use with this utility, enter the following at the
command line:
esm -cmd
To view help on a specific operation, enter the following at the command line:
esm -cmd help [operation]
Command Option Description
-U Specifies which authentication type used to log in to the
directory. SIMPLE specifies password authentication.
-D Specifies the username.
-w Specifies the password.
-h Specifies the directory host machine name.
-p Specifies the directory port number.
-dn Specifies the search base.
-objectType Specifies the type of object for which to search.