Openfire admin account problem under OS X 10.6

Hi,

I’ve just installed Openfire 3.4.6 under OS X 10.6. When I try to login to the admin console I am presented with this error message:

Login failed: make sure your username and password are correct and that you’re an admin or moderator.

And when I try to cd inside /usr/local/openfire to modify openfire.xml I get this error message:

-bash: cd: /usr/local/openfire/: Permission denied

Why the /usr/local/openfire directory does not have read permission by default? Is this intentional?

drwxr-xr-x 39 wheel 1326 25 Oct 17:02 bin

drwxr-xr-x 3 wheel 102 21 Jun 2008 lib

drwxr-x— 9 215 306 25 Oct 19:18 openfire

drwxr-xr-x 4 wheel 136 12 Sep 2008 share

drwxr-xr-x 4 wheel 136 25 Oct 15:20 texlive

Any ideas how I can make the admin username/password work?

Thanks in advance,

Behrang