Glassfish 4.1 admin reset password

Glassfish 4.1 admin reset password

1. Go to
 /opt/glassfish4/glassfish/domains/domain1/config/local_password 
its contents are a backup password to log in as admin

2. You can replace the domain\config\admin-keyfile contents with the following:

admin;{SSHA256}UV9EsTaoxzAdtxiNMKTkb3g0WjnoUBEBgpDQIGSdOu8QhprFoWiSCw==;asadmin

This will give you a username of 'admin' and password 'changeit'.


Comments

Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

How to clean DB from old logs in Magento 1.x

Python pxssh failed on login. could not set shell prompt