JBoss:Developer's Guide
上QQ阅读APP看书,第一时间看更新

Creating a management to manage your EAP domain

$ cd $EAP_DOMAIN/jboss-eap-7.0/bin
./add-user.sh -dc $EAP_DOMAIN/host0/domain/configuration

Here, the add-user script is used to add a management user only to the host0/domain/configuration/mgmt-users.properties file.

The – dc option specifies the domain configuration folder (here, we alter the host0: domain controller folder).
Choose the following options:

Management User (mgmt-users.properties)
userName: admin
userPassword : Admin01#
GroupList : Empty, the user will be added by default to the ManagementRealm

The second authentication to set up is regarding the host to domain controller communications.