Pages

Monday, December 27, 2010

OMG!! I lost my Administrator password.. Here is the solution to set it to default

Generally all the users info(userName and Password) are saved in the .xml. The name of the file is users.cnf(located at /Config/users.cnf)

1. Change this file name to users_org.cnf(or some other name which must be different from the "users.cnf")
2. Restart the IS
3. IS will recreate the users.cnf file with the default users and the default password(Administrator/manage)
4. Now open the users.cnf file and copy the password(which is encoded)
5. Now replacing this value in the Administrator pwd. of file user_org.cnf, will make the Administrator password to default i.e "manage".
6. You have to delete the users.cnf and rename the users_org.cnf to users.cnf back again(so as to keep the entries of the other users intact)


Snippet:
#############################################

***Other code here***
{sha1}vI5TC3V31VdoYdyukqpb7AYXHXQ=
***Other code here***

#############################################

Here in this snippet, the value you must copy is "{sha1}vI5TC3V31VdoYdyukqpb7AYXHXQ="

NOTE: Ofcourse!, you must have access to the file system of the IS.

3 comments:

  1. Thanks. Helped me finding default password based on the hash ;-)

    ReplyDelete
  2. This hash format is just "{sha1}"+base64(sha1(USERPASSWORD)).

    For example, the SHA1 of 'Administratormanage' is 'bc8e530b7577d5576861dcae92aa5bec06171d74' which is base64 encoded the "vI5TC3V31VdoYdyukqpb7AYXHXQ=" from above.

    ReplyDelete
  3. Thank you so much... Is this same will applicable for MWS as well?

    ReplyDelete