Thursday, 2 February 2017

How to reset password for admin user in jboss ?

Hello everyone,

Hope you all are doing well. Today we are discussing the scenario where we need to change the admin password of jboss application server to access into the admin console. It happens normally that we forgot the admin password or need to change password on timely basis for security purpose.

Please flow the below procedure to reset the admin password.

Procedure:

I assume that you all know how to add admin user to the jboss environment before changing the password for it.

When we have added the user to the environment the details of the user did store in the files.
 /<JBOSS_HOME>/domain/configuration/mgmt-users.properties
/<JBOSS_HOME>/standalone/configuration/mgmt-users.properties  


To change the admin password go to these two files and delete the user
delete the line such as  admin=2c7123264278731425d1f53aeb55da1edfghsdef [username=password]



After deleting these two entries Go to the location /<JBOSS_HOME>/bin and run the command ./add-user.sh and add user again.

Restart of Jboss services not require. 

This one is the easiest process to reset the password in Jboss 7.1.

Hope this will help you. Kindly comment for your suggestion and quires.   

"Effort only fully releases its reward after a person refuses to quit.”

 Regards,

 Akhilesh B. Humbe

Popular Posts