JBOSS7에 사용자계정 추가하여 관리웹페이지 사용하기
다음과 같이 진행한다.
[jboss@hostname ~]$ cd /jboss/jboss-as-7.1.1.Final/bin
[jboss@hostname bin]$ ./add-user.sh
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a): a
Enter the details of the new user to add.
Realm (ManagementRealm) : ManagementRealm
Username : jboss
Password :
Re-enter Password :
About to add user 'jboss' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'jboss' to file '/jboss/jboss-as-7.1.1.Final/standalone/configuration/mgmt-users.properties'
Added user 'jboss' to file '/jboss/jboss-as-7.1.1.Final/domain/configuration/mgmt-users.properties'
[jboss@hostname bin]$ cp /jboss/jboss-as-7.1.1.Final/standalone/configuration/mgmt-users.properties /jboss/domains/kdialog/configuration/
http://127.0.0.1:9990/console/App.html