Tuesday, February 8, 2011

Reset CF Admin Password

This is an oldie but goodie..  had to resource of this before and now someone reminded me how it works (I cannot quote the original source as I got this on an email)


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: 
 
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.
This works for CF7 and CF8 ... don't know if it works on CF9, has anyone tried ?

No comments:

Post a Comment