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

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

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

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10