Chapter 4. Adding a Remote Console User


Abstract

The server's remote command console is not configured with a default user. Before you can connect to the server's console remotely, you must add a user to the configuration.
Important
The information in this file is unencrypted so it is not suitable for environments that require strict security.
To add a user:
  1. Open InstallDir/etc/users.properties in your favorite text editor.
  2. Locate the line #admin=admin,admin.
    This line specifies a user admin with the password admin and the role admin.
  3. Remove the leading # to uncomment the line.
  4. Replace the first admin with a name for the user.
  5. Replace admin with the password for the user.
  6. Leave the last admin as is, and save the changes.
  7. To access the container's JMX port and to use the ActiveMQ Web console, you must specify the credentials for them. To do so, open InstallDir/etc/system.properties in your favorite text editor and search for the following lines:
    #
    # Authentication - must match an entry in users.properties with the admin privilege
    #
    #activemq.jmx.user=admin
    #activemq.jmx.password=admin
    Copy to Clipboard Toggle word wrap
    Uncomment the activemq.jmx.user=admin and activemq.jmx.password=admin settings (by removing the leading #) and change the username and password values to the same username and password values you just defined in the etc/users.properties file.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat