Monday, August 11, 2008

What if you forget the ColdFusion Admin Password?

Imagine suppose you have forgotten the admin password and cannot log in to ColdFusion Administrator. Here is a solution for this, follow the below steps.

  1. Make a backup copy of CF_HOME\lib\neo-security.xml file

    In case of multi-server editions, the path is:
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\neo-security.xml
  2. Open the neo-security.xml file in a text editor and change 'true' to 'false' for the admin.security.enabled variable tag. For example, search the file for "admin.security.enabled" and change the entry as follows:

    <var name='admin.security.enabled'><boolean value='false'/></var>
  3. Restart the ColdFusion application server.

You should now be able to bypass the login to the ColdFusion administrator. You can reset the password by choosing Security > Administrator.

 

4 comments:

Whatterz said...
This post has been removed by the author.
Simon Whatley said...

Youy can find more detail here:

http://www.simonwhatley.co.uk/resetting-a-lost-coldfusion-password

ahamad said...

Simon,
Thanks for the detailed explanation....

Anonymous said...

...please where can I buy a unicorn?