When EAP ER7 is installed using jboss-eap-7.0.0.ER7-installer.jar (in both, gui and console mode), there are files with different content compared to what is in jboss-eap-7.0.0.ER7.zip:
EAP-7.0.0/domain/configuration/mgmt-users.properties EAP-7.0.0/standalone/configuration/mgmt-users.properties
From ZIP
# # 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 host.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 # bin/add-user.sh # # - Windows # bin\add-user.bat # #$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. # # The following illustrates how an admin user could be defined, this # is for illustration only and does not correspond to a usable password. # #admin=2a0923285184943425d1f53ddd58ec7a
From installer with admin user added - uncommented line + different hash is expected, but the position of #$REALM_NAME... line is unexpected
# # 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 host.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 # bin/add-user.sh # # - Windows # bin\add-user.bat # On start-up the server will also automatically add a user $local - this user is specifically # for local tools running against this AS installation. # # The following illustrates how an admin user could be defined, this # is for illustration only and does not correspond to a usable password. # admin=6ad5db1c51efeb59b9276bdc5f0b5f21 # #$REALM_NAME=ManagementRealm$ This line is used by the add-user utility to identify the realm name already used in this file. #
- is related to
-
JBEAP-3983 add-user.sh scripts change layout of properties files
- Verified