Getting the Administration Server Port Number
89
NOTE
Make sure that the correct JDK is set in the
PATH
before launching the Console.
The login screen prompts for the username, password, and Administration Server location. It is
possible to pass other information along with the Console command to supply the Administration
Server URL, password, and username. For example:
redhat-idm-console -a http://localhost:9830 -u "cn=Directory Manager" -w secret
Option
Description
-a
adminURL
Specifies a base URL for the instance of Administration 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
:
nowinpos, which puts the Console window in the upper left corner of the screen
nologo, which keeps the splash screen from being displayed and only opens the login dialog
javalaf, which uses the
Java look and feel
for the Console interface rather than the platform-specific styles
To use multiple options, separate them with a comma.
-y
file
Reads the password from the specified input file.
Table 7.4. redhat-idm-console Options
7.4. Getting the Administration Server Port Number
Logging into the Console requires the Administration Server URL along with a username and
password. The Administration Server has a standard HTTP address; the default is
http://
hostname:9830/
. (If the Administration Server is using TLS/SSL, then the URL begins with
https://
.)
To find the port number for your Administration Server run this command:
grep \^Listen /etc/dirsrv/admin-serv/console.conf
Listen 0.0.0.0:
port
port
goes after the colon in the Administration Server URL. If the
Listen
were
1132
, the
Administration Server URL would be
http://hostname:1132
.