Show Table of Contents
1.4. Starting the Console
1.4.1. Starting the Directory Server Console
There is a simple script to launch the Directory Server Console. The script is in the standard
/usr/bin directory, so it can be run as follows:
redhat-idm-console
Note
Make sure that the correct Oracle Java Runtime Environment (JRE) or OpenJDK version is set in the
PATH variable before launching the Console. To display the version and vendor information about Java on your system, enter:
java -version
The login screen prompts for the user name, password, and Admin Server location. It is possible to pass other information along with the Console command to supply the Admin Server URL, password, and user name. For example:
redhat-idm-console -a http://localhost:9830 -u "cn=Directory Manager" -w secret
Table 1.3. redhat-idm-console Options
| Option | Description | |||
|---|---|---|---|---|
| -a adminURL | Specifies a base URL for the instance of Admin Server to log into. | |||
| -f fileName | Writes errors and system messages to fileName. | |||
| -h | Prints out the help message for redhat-idm-console. | |||
| -s | Specifies the directory instance to access, either by specifying the DN of the server instance entry (SIE) or the instance name, such as slapd-example. | |||
| -u | Gives the user DN to use to log into the Console. | |||
| -w | Gives the password to use to log into the Console. | |||
| -w - | Reads the password from the standard output. | |||
| -x options | Specifies extra options. There are three values for extraOptions:
| |||
| -y file | Reads the password from the specified input file. |
1.4.2. Logging into Directory Server
After starting the Directory Server Console, a login screen opens, requiring the user name and password for the user logging in and the URL for the Admin Server instance being access. The user logged in at the Console is the user who is binding to Directory Server. This determines the access permissions granted and allowed operations while access the directory tree. The user account used to log into the Directory Server Console can make significant differences in the access; for example, the Directory Manager has access to every user and configuration entry in Directory Server, while the
admin entry created during installation has access to only configuration entries, not user entries. Regular user accounts are more limited.
To bind to, or log into, the Directory Server, supply a user name and password at the login box.

1.4.3. Changing the Login Identity
At any time during a session, you can log in as a different user, without having to restart the Console. To change the login identity:
- In the Directory Server Console, select the Tasks tab.
- Click Log on to the Directory Server as a New User.

- A login dialog box appears.
Enter the full distinguished name of the entry with which to bind to the server. For example, to bind as user Barbara Jensen, enter her full DN in the login box:cn=Barbara Jensen,ou=People,dc=example,dc=com

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.