CSP-13825 - How to reset the confluence admin password

Product: Confluence

Environment

Operating System  
Affect Version/s  
JVM  
Database MySQL 5.x
Application Server Tomcat 5.0.x

Error Message


Symptom

Forgotten the admin password?

Diagnostics/Test

Root Cause

Solution

If you're using Atlassian-user:

update users set password='x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A==' where name='admin'

(This has been tested on a PostgreSQL backend for Confluence-2.8.0)

If you're using OSuser authentication:

update os_user set passwd='x61Ey612Kl2gpFL56FT9weDnpSo4AV8j8+qx2AuTHdRyY036xxzTTrw10Wq3+4qQyB+XURPWx1ONxp3Y3pB37A==' where username='admin';

This will update the user admin (you can replace this with the username of your admin) with the password admin.

Labels