Use this document if you are unable to login as administrator or have forgotten your password and do not have Mail Server configured, to manually replace administrator passwords.
Follow the instructions for either the Embedded Database or External Database. If you have not configured a database, use the Embedded instructions.
Embedded Database Instructions
Stage One - Identify Administrator
This guide assumes that the first user added was an administrator. If this is not the case, search for the admin username and find their user id number, then modify their password hash instead.
- Shutdown Bamboo
- In your Bamboo home directory, open
\database\defaultdb.scriptfile in a text editor - Search for the text:
To find the administrator login entry:Where the 1 is the user id number, and USERNAME and PASSWORD_HASH are actual values.
As an example, my table entry for user admin with password admin looks like this;
- This step makes
adminthe administrator's password. Bamboo does not store passwords in plain text in the database, but uses hashes computed from the original password. The hash for the charactersadminis below:Paste theadminpassword hash between the '' characters of their existing PASSWORD_HASH. The new administrator login entry should look like:Where USERNAME is the administrator username. - Save the file
- Start up Bamboo
- Login with the administrator username and password
admin
External Database Instructions
Stage One - Identify User
The first user added is always an admin. To restore your password you simply need to update the password hash in the USERS table with the admin hash
Connect to your database using a database admin tool such as DBVisualiser. Please download a database admin tool now if you do not have one installed already. Once installed, connect to your database and retrieve the list of administrator usernames with:
This command should list all users who belong to Bamboo-Admin user group.
Stage Two - Replace Administrator Password
Bamboo does not store passwords in plain text in the database, but uses hashes computed from the original password. You instead cut and a paste a hash, rather than the plain password, over the existing password. Below is the hash for the password admin
To change the password to admin for a given username:
- Shutdown Bamboo
- Connect to your database. run this SQL on your database:select * from USERS where NAME='admin'If you are using LDAP integration for user managment (not only authentication) then your admin user will be in a different table. The SQL to run is:
- Start Bamboo
- Login with your username and your password is now
admin







2 Comments
Hide/Show CommentsAug 27, 2010
Anonymous
you can try to google password genius
Aug 29, 2010
Anonymous
you can try to google password genius
Add Comment