Chapter 3. 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.
Red Hat JBoss A-MQ is not installed with a default user for the remote console. Before you can remotely manage a server, you must add a user by editing InstallDir/etc/users.properties.
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. Uncomment the line by removing the leading #.
  4. Change the first admin to the desired user name.
  5. Change the admin to the desired password.
  6. Save the changes.
  7. If you intend to use the ActiveMQ Web console, you must specify the credentials for it. Open InstallDir/etc/system.properties in your favorite text editor and search for the following lines:
    #
    # Authentication - must match an entry in user.properties with the admin privilege
    #
    #activemq.jmx.user=admin
    #activemq.jmx.password=admin
    Uncomment the activemq.jmx.user and activemq.jmx.password settings (by removing the leading #) and change the username and password values to be the same as the values you just defined in the etc/users.properties file.
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.

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.

© 2024 Red Hat, Inc.