Can anyone please tell how can I set up admin user (to be able to check the server via GUI in an emergency? in JBOSS EAP 7.1?
Asked
Active
Viewed 523 times
1 Answers
0
The default JBoss EAP configuration provides local authentication so that a user can access the management CLI on the local host without requiring authentication. User will not be able to access the JBoss admin console without adding a management user.
Adding Management User
Management user can be used to access JBoss Admin console from which you can perform all setup related activities. To add a management user, change the directory to $JBOSS_HOME/bin. Run the following command:
./add-user.sh
- Press ENTER to select the default option (a) to add a management user.
- Enter the desired username and password. You will be prompted to confirm the password.
- Enter a comma-separated list of groups to which the user belongs. If you do not want the user to belong to any groups, press ENTER to leave it blank. (Leave it Blank)
- Select y/yes for rest of the questions
- IMPORTANT: Make note of the secret value ->
<secret value="xxxxxxx" />
. Also, remember the password!!