Issue
Reason
The root administrator username is stored in the neo-security.xml file. It is an alphanumeric string value to the admin.userid.root setting.
Solution
-
Stop ColdFusion 8.
-
Back up the neo-security.xml file.
- Server configuration: cf_root\lib\neo-security.xml
- Multiserver or J2EE configuration: cf_web_root\cfusion\lib\neo-security.xml
-
Open neo-security.xml and find the admin.userid.root entry.
-
Replace the default string value admin with the desired username.
-
Save the file.
-
Start ColdFusion 8.
After changing the root administrator username, the ColdFusion 8 Administrator login screen will still display the default value admin in the User name field. If single password authentication is enabled, pressing the Login button will simply submit the root administrator password. If separate username and password authentication is enabled for the ColdFusion 8 Administrator, the new username will be able to log in successfully (using the root administrator password), and the default admin username will fail.