forgotten password - joomla expose

Today I wanted to grant a user of our joomla portal the right to manage the photo gallery expose. Expose only uses a password to authenticate the userrights. Only those users who know the password are allowed to manage the albums. My problem was, I forgot the password I set a few months ago. . .
1 answer

reset the password to the default one

In the internet I found a sollution of the problem:
The password of the component is stored in the following a php file on the webserver
"/components/com_expose/expose/manager/amfphp/extra/passhash.inc.php"

There I should replace the only line with the following one:
<?php $GLOBALS["passhash"] = "3e892e9edc898cf713ecd6ef06a116a7"; ?>

After this step the password is reseted to 'manager'.