Coldbox App Lucee Password

When an app is created in coldbox and lucee server is started, what is the default password so I can log into admin?

Thank you!

There is no default Lucee password. You can set one though with CFConfig. I use the CFConfig and Dotenv module, setting a gloval env var called cfconfig_adminPassword which automatically sets the default admin password on any local server I start.

propertyFile set ~/.box.env cfconfig_adminPassword Password123!
install commandbox-cfconfig
install commandbox-dotenv

(Note, both of these modules install by default now on CommandBox 5.8.0)

Thank you so much, I will see if I can make that work!! I truly appreciate your response!!!

Have a great day!

I actually discovered that the default lucee password is coldbox!!!

That is because it is in the boilerplate Coldbox template. You should probably change that. :slight_smile:

I did change it after I found it! Thank you!!!

Hmm, @lmajano I don’t think we should have a default password for Lucee hardcoded in our templates. That undermines functionality of CFConfig which sets a random password for security in production profile to prevent a missing password from going to prod.

All templates are updated now

1 Like