Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBoss default password

Tags:

jboss

What's the JBoss 5.x EAP default web console password?

like image 353
Viren Pushpanayagam Avatar asked Mar 24 '11 06:03

Viren Pushpanayagam


People also ask

What is the default JBoss admin password?

During the last security audit it has been found that Default login/password (admin/admin) is used to login into JBoss Administration console, JBoss web console and JMX Console.

How can I get JBoss admin password?

Go to the jmx console, enter JBoss login URL, then enter admin as username and admin password. Show activity on this post.

How do I reset my JBoss EAP admin password?

Resolution. Use $JBOSS_HOME/bin/add-user.sh script to overwrite existing user details. To reset login details execute the script and use the same user name but specify a different password, it will overwrite existing login details. # ./add-user.sh What type of user do you wish to add?

How do I log into JBoss server?

JBoss AS 7, by default, does not use any more port 8080 to serve the admin console. You can access it at the https://localhost:9990/console as configured in your standalone. xml / domain. xml.


2 Answers

The default credentials are:

login: admin password: admin 

But if you use EAP these credentials are turned off by default and there is no active user (security reasons :)). If you want to turn on these users, you have to edit the following file in your current profile: ./deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/web-console-users.properties. It should be enough to remove the # sign from the line with the user.

If you want to create a new user, don't forget to set up the correct groups in web-console-roles.properties file.

You can easily find information where these information are stored: just open the ./conf/login-config.xml file and find the proper security domain definition. In the case of the Web Console application, it will be web-console policy.

Also if you want to have access to JMX, you have unlock JMX Console. Just check the following files in the conf/props/ directory (in your profile): jmx-console-users.properties and jmx-console-roles.properties.

like image 95
Lukasz Stelmach Avatar answered Oct 11 '22 19:10

Lukasz Stelmach


I just had to uncomment the line in jboss-eap-5.0\jboss-as\server\default\conf\props\jmx-console-users.properties

admin=admin 

Thats it. Restart Jboss and I was about to get in to JBOSS JMX. Magically this even fixed the error that I used to get while shutting down Jboss from Eclipse.

like image 23
Sangeet Avatar answered Oct 11 '22 19:10

Sangeet