Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Server Administration / December 2005



Tip: Looking for answers? Try searching our database.

CF Admin Password Recovery

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
X452 - 19 Dec 2005 14:28 GMT
Stupid move but lucky its my dev box someone sent me this, does it work and is
it possible - MIND the fact that I manager to overcome it quite okay by
installing MX7 over it and managed to get access to all my datasources
fine.Heres what someone sent me

    <cfregistry action="GET"
   
            branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server"

                entry="AdminPassword" variable="adminpassword" type="String">
    <cfregistry action="GET"
   
            branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server"

                entry="StudioPassword" variable="studiopassword" type="String">
           
    <!--- Output Passwords To Screen using an undocumented "cfusion_Decrypt"
Function --->   
    <cfoutput><b>Admin Password:</b> #evaluate("cfusion_Decrypt(adminpassword,
PASSWORD_KEY )")#</cfoutput><br>
    <cfoutput><b>RDS Password:</b> #evaluate("cfusion_Decrypt(studiopassword,
PASSWORD_KEY )")#</cfoutput><br>
LSLEIGHT - 19 Dec 2005 19:31 GMT
does anyone know where to enter this code. I don't have my password and need it asap!!!! Help from anyone would be appreciated.
tclaremont - 23 Dec 2005 14:43 GMT
Paste the code into a new CFM page and save the page as "ForgotMyPassword.cfm" into a web accessible directory on the webserver.

Open the web browser and navigate to the page you just created.
speedpedal - 23 Dec 2005 19:39 GMT
a more easy way...

1. open cfusionroot/lib/neo-security.xml
2. look for the line <var name="admin.security.enabled">
3. change the boolean value to 'false'
4. Save the file & restart ColdFusion

when you access the cfadmin page, it shouldn't flag you for a password. once
inside, you can declare a new password for cfadmin.

hth.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.