Thursday, September 4, 2008

Recover the Administrator Login for Ahsay OBS

To recover the Ahsay OBS administrator login....

--Change directories to OBS HOME/conf

--Copy obs.xml to date.obs.xml (just in case)

--Edit obs.xml

--About two lines down you'll see the user/password/hashed for the system login. IE:
----user="system" password="T21egV9cwUi2neWVIDgytQ==" hashed-pwd="Y"

--Change the password to a temp plain text password, then change hashed to N. IE:
----user="system" password="changme" hashed-pwd="N"

--Restart OBS

Now you can login to OBS using system/changeme.

--Reset the administrator password, and it will be converted in the obs.xml to hashed again.


Note: This post does not address encryption keys on a backup set. If you ever lose the encryption key for a backup set, you're in trouble.