From Fedora Project Wiki
Description
Testing adding a new user which will be used to connect to the server management interface
Setup
Don't forget to install latest updates!
How to test
- Become root (if you don't do this - you get Permission Denied errors later)
cd /usr/share/jboss-as/bin/./add-user.sh- Select Management User type (hit [Enter])
- Select ManagementRealm realm (hit [Enter])
- Select a username
- Select a password
- Re-type password
Expected Results
- A new entry with your user should be appended to
/etc/jboss-as/standalone/mgmt-users.propertiesand/etc/jboss-as/domain/mgmt-users.propertiesfiles - Above files still should be owned by
jboss-asuser
