Red Hat Training

A Red Hat training course is available for Red Hat Fuse

Chapter 4. Adding a Remote Console User

Fuse on Karaf is not installed with a default user for the remote console. You must add a user before you can connect to the server’s remote console. To add a user, edit 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 following lines:

    #admin = admin,_g_:admingroup
    #_g_\:admingroup = group,admin,manager,viewer,systembundles,ssh

    Note that the first line has the syntax USER=PASSWORD,_g_:GROUP,ROLE1,ROLE2,.... In this example, the first line specifies a user, admin, with the password, admin, and the role group, admingroup.

  3. Uncomment both lines by removing the leading # character.
  4. Change the first admin to the desired user name.
  5. Change the second admin to the desired password.
  6. Save the changes.