> Recently someone asked how to retrieve the CF Admin password 
> after they've lost/misplaced it.  I tried to find the message 
> by searching at houseoffusion.com but the search just hangs.
> 
> Can someone kindly tell me how to retrieve the cf admin 
> password via the command line?

You can't retrieve it from the command line, but you can change the server
configuration to disable it, then go into the CF Administrator and reset it.
Or, if you have access to the filesystem, you can write a CFML script to
decrypt the password. I'd recommend the first approach, since it's a little
easier in some ways.

If you're running CF 5 or earlier, edit the registry, and set this value to
"0":

HKLM\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server\UseAdminPassword

If you're running on Linux/Solaris/HPUX, you'll need to stop the server
before making the edit, then restart it after you've edited the registry. On
Unices, there's no actual registry, so this info is stored in the file
cf.registry (typically /opt/coldfusion/registry/cf.registry).

If you're running CFMX, you'll want to stop the service, edit
neo-security.xml, find "<var name='admin.security.enabled'><boolean
value='true'/></var>" and set the value to false, then restart the service.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=14
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=14
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
                                

Reply via email to