Next Topic

Previous Topic

Book Contents

Password Recovery

Recovering a Password on Windows

  1. Stop all Traverse components (Start > Programs > Traverse > Stop Traverse Components).
  2. Open a command prompt and execute the following commands:

    c:

    cd <TRAVERSE_HOME>

    utils\databaseUtil.pl --action export --file provdb.xml

    This creates a file named provdb.xml which you can edit to reset the password.

  3. Search for the superuser entry and remove the entire des prefix along with the encrypted password. Then, enter a cleartext password (with no des prefix).

    <loginName code="Ansi" lang="en">superuser</loginName>

    [...]

    <password code="Ansi" lang="en">{des}xyzabc</password>

    replace with:

    <password code="Ansi" lang="en">password</password>

  4. Import the file back into the database:

    utils\databaseUtil.pl --action import --file provdb.xml

  5. Enter y to replace the existing database.
  6. Restart Traverse.

Recovering a Password on UNIX

  1. Log in to the Traverse (BVE) server as root or use the su or sudo commands to obtain root permissions.
  2. Execute the following commands:

    cd <TRAVERSE_HOME>/

    /etc/traverse.init stop

    utils/databaseUtil.pl --action export --file /tmp/provdb.xml

    This stops the Traverse components, and then creates a file named provdb.xml which you can edit to reset the password.

  3. Search for the superuser entry and remove the entire des prefix along with the encrypted password. Then, enter a cleartext password (with no des prefix).

    <loginName code="Ansi" lang="en">superuser</loginName>

    [...]

    <password code="Ansi" lang="en">{des}xyzabc</password>

    replace with:

    <password code="Ansi" lang="en">password</password>

  4. Import the file back into the database:

    utils/databaseUtil.pl --action import --file /tmp/provdb.xml

  5. Enter y to replace the existing database.
  6. Restart Traverse.