Page Nav

HIDE

Grid

GRID_STYLE

Changing the BES 5 admin password

Introduction There are several tutorials on the internet on how to change the default admin password.

Image result for Changing the BES 5 admin password

Introduction

There are several tutorials on the internet on how to change the default admin password.
The method involves changing the system administrator account. This method works in some cases but not in others. The reason is the hash that is being used is not always understood by your server. The answer is to use the basutility to generate a has before changing the password by using the following method.

Steps (3 total)

1

On the computer where the BlackBerry Administration Service is installed, navigate to the following directory from a command prompt:

a. For a 32bit (x86) Operating System:
<drive>:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS\bin

b. For a 64bit (x64) Operation System:
<drive>:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BAS\bin
2

Run the following command:

a. For BlackBerry Enterprise Server 5.0 to 5.0 SP2:
basUtility "C:\Program Files\Java\jre1.6.0_45" "C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS" encode "blackberry" > C:\temp\Output.txt

b. For BlackBerry Enterprise Server 5.0 SP3:
basUtility "C:\Program Files\Java\jre1.6.0_48" "C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS" hash "blackberry” > C:\temp\Output.txt
3

Open notepad and paste in the following script. Open the output.txt file you created in step 2 and add the hash into the following script. Save the script as password.sql

a. use besmgmt
update dbo.basusers set loginpassword = 'Hash' where displayname = 'system administrator'
b. Run the following command in a command window
sqlcmd -S .\blackberry -i C:\temp\password.sql

Conclusion

You should now be able to log into bes with the username admin and the password blackberry. Change the admin password though the BES admin console.

No comments