Description of problem:
Installer removes the default content of mgmt-users.properties which, among other things, contains default realm name used by add-user utility.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. java -jar jboss-eap-6.4.0.CR1-installer.jar
2. finish installation using default values where possible
3. vim $INSTALLATION_TARGET/standalone/configuration/mgmt-users.properties
$ cat EAP-6.4.0/standalone/configuration/mgmt-users.properties
It would be nice to preserve most of the content and remove just last paragraph, since there are some useful information.
$ cat jboss-eap-6.4/standalone/configuration/mgmt-users.properties
# Properties declaration of users for the realm 'ManagementRealm' which is the default realm
# for new installations. Further authentication mechanism can be configured
# as part of the <management /> in standalone.xml.
# Users can be added to this properties file at any time, updates after the server has started
# will be automatically detected.
# By default the properties realm expects the entries to be in the format: -
# username=HEX( MD5( username ':' realm ':' password))
# A utility script is provided which can be executed from the bin folder to add the users: -
# - Linux
# - Windows
#$REALM_NAME=ManagementRealm$ This line is used by the add-user utility to identify the realm name already used in this file.
# On start-up the server will also automatically add a user $local - this user is specifically
# for local tools running against this AS installation.
Darran, can you please confirm that $REALM_NAME in these files is used only by add-user utility?
Issues for EAP 7 must be filed at https://issues.jboss.org/browse/JBEAP
For issues like this I would also say don't bother raising for EAP 7 - this is an area under active development and marked as deprecated in EAP 6.4.