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

Reduce (shrink) and resize raw disk at Proxmox

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

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