Forgotten Hyperic password

I setup Hyperic a while ago and rather stupidly forgot the hqadmin password!

If the same happens to you it’s fairly easy to reset it. This assumes you’re using the default postgres database  –

cd to your Hyperic server’s bin directory

cd ~/hyperic/server-3.1.1/bin

and connect to the database using SQL

./db-psql.sh

Not update the hased password. The command below will set the ‘hqadmin’ users password back to hqadmin –

update eam_principal set password='XfLzwfNQujo/CxxaYX3OCg==' where id =1;

and then to quit out of psql

\q

1 thought on “Forgotten Hyperic password

Comments are closed.