To Set Jboss password encrypted follow below steps
cd $JBOSS_HOME
./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.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username : jboss
User 'jboss' already exits, would you like to update the existing user password and roles
Is this correct yes/no? y
Password : enter password here
Re-enter Password : enter password here
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]:
Updated user 'jboss' to file '/opt/jboss-eap-6.2/standalone/configuration/mgmt-users.properties'
Updated user 'jboss' to file '/opt/jboss-eap-6.2/domain/configuration/mgmt-users.properties'
Updated user 'jboss' with groups to file '/opt/jboss-eap-6.2/standalone/configuration/mgmt-groups.properties'
Updated user 'jboss' with groups to file '/opt/jboss-eap-6.2/domain/configuration/mgmt-groups.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
yes/no? n
cd $JBOSS_HOME
./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.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username : jboss
User 'jboss' already exits, would you like to update the existing user password and roles
Is this correct yes/no? y
Password : enter password here
Re-enter Password : enter password here
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[ ]:
Updated user 'jboss' to file '/opt/jboss-eap-6.2/standalone/configuration/mgmt-users.properties'
Updated user 'jboss' to file '/opt/jboss-eap-6.2/domain/configuration/mgmt-users.properties'
Updated user 'jboss' with groups to file '/opt/jboss-eap-6.2/standalone/configuration/mgmt-groups.properties'
Updated user 'jboss' with groups to file '/opt/jboss-eap-6.2/domain/configuration/mgmt-groups.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
yes/no? n
once the password is set then open the files where this command has updated the password and set it in your own configuration files.
No comments:
Post a Comment