# Set server and web password on the console for Automation

**URL:** <https://dev.lucee.org/t/set-server-and-web-password-on-the-console-for-automation/1112>\
**Category:** google-group-archive\
**Created:** [December 7, 2016, 5:45pm UTC](https://dev.lucee.org/t/set-server-and-web-password-on-the-console-for-automation/1112 "2016-12-07T17:45:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_Dale](https://dev.lucee.org/letter_avatar_proxy/v4/letter/b/4491bb/32.png) [@Bill\_Dale](https://dev.lucee.org/u/Bill_Dale)\
**Post date:** [December 7, 2016, 5:45pm UTC](https://dev.lucee.org/t/set-server-and-web-password-on-the-console-for-automation/1112/1 "2016-12-07T17:45:54Z")

</div>

How do I set the server and web password for the GUI console without using  
the Web GUI or your installer. I need this for server build automation and  
auto scaling on AWS.

Thanks,

– Billy Dale

---

<div class="post-metadata">

**Author:** ![Bill\_Dale](https://dev.lucee.org/letter_avatar_proxy/v4/letter/b/4491bb/32.png) [@Bill\_Dale](https://dev.lucee.org/u/Bill_Dale)\
**Post date:** [December 7, 2016, 6:29pm UTC](https://dev.lucee.org/t/set-server-and-web-password-on-the-console-for-automation/1112/2 "2016-12-07T18:29:29Z")

</div>

Thanks OK I will need to change the following 2 files:

Web

…lucee/h/express/webapps/ROOT/WEB-INF/lucee/lucee-web.xml.cfm

Server

…lucee/h/express/lucee-server/context/lucee-server.xml

Note: I created the files first, with a know password. Then copied the  
config in to my build script. While building I inject the config line and  
“presto” the password is now set on my builds.

Thanks,

Problem solved.On Wednesday, December 7, 2016 at 9:57:05 AM UTC-8, Bill Dale wrote:

> How do I set the server and web password for the GUI console without using  
> the Web GUI or your installer. I need this for server build automation and  
> auto scaling on AWS.
> 
> Thanks,
> 
> – Billy Dale

---

<div class="post-metadata">

**Author:** ![markdrew](https://dev.lucee.org/user_avatar/dev.lucee.org/markdrew/32/78_2.png) [@markdrew](https://dev.lucee.org/u/markdrew)\
**Post date:** [December 7, 2016, 6:15pm UTC](https://dev.lucee.org/t/set-server-and-web-password-on-the-console-for-automation/1112/3 "2016-12-07T18:15:47Z")

</div>

it’s set in the server.xml, I suggest having one already defined how you want it and copying as part of your deployment.

Regards

Mark Drew

develop • deploy • deliver

[http://cmdhq.io](http://cmdhq.io)  
+44 7971 852296\> On 7 Dec 2016, at 17:45, Bill Dale \<@Bill\_Dale\> wrote:

> How do I set the server and web password for the GUI console without using the Web GUI or your installer. I need this for server build automation and auto scaling on AWS.
> 
> Thanks,
> 
> – Billy Dale
> 
> –  
> You received this message because you are subscribed to the Google Groups “Lucee” group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [lucee+unsubscribe@googlegroups.com](mailto:lucee+unsubscribe@googlegroups.com) [mailto:lucee+unsubscribe@googlegroups.com](mailto:lucee+unsubscribe@googlegroups.com).  
> To post to this group, send email to [lucee@googlegroups.com](mailto:lucee@googlegroups.com) [mailto:lucee@googlegroups.com](mailto:lucee@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/lucee/6947655a-5af9-41e4-bd2e-d9d2d0bed1b0%40googlegroups.com](https://groups.google.com/d/msgid/lucee/6947655a-5af9-41e4-bd2e-d9d2d0bed1b0%40googlegroups.com) [https://groups.google.com/d/msgid/lucee/6947655a-5af9-41e4-bd2e-d9d2d0bed1b0%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/lucee/6947655a-5af9-41e4-bd2e-d9d2d0bed1b0%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

![](https://dev.lucee.org/uploads/default/original/1X/a5d7c4d177011f6bc21c6ecc9ea64ded3a29be0f.png)

---

<div class="post-metadata">

**Author:** ![markdrew](https://dev.lucee.org/user_avatar/dev.lucee.org/markdrew/32/78_2.png) [@markdrew](https://dev.lucee.org/u/markdrew)\
**Post date:** [December 7, 2016, 6:56pm UTC](https://dev.lucee.org/t/set-server-and-web-password-on-the-console-for-automation/1112/4 "2016-12-07T18:56:27Z")

</div>

You don’t need to do the web config if you set a default password for all web contexts in the admin too

Mark Drew

- Sent by typing with my thumbs.\> On 7 Dec 2016, at 18:29, Bill Dale \<@Bill\_Dale\> wrote:

> Thanks OK I will need to change the following 2 files:
> 
> Web
> 
> …lucee/h/express/webapps/ROOT/WEB-INF/lucee/lucee-web.xml.cfm
> 
> Server
> 
> …lucee/h/express/lucee-server/context/lucee-server.xml
> 
> Note: I created the files first, with a know password. Then copied the config in to my build script. While building I inject the config line and “presto” the password is now set on my builds.
> 
> Thanks,
> 
> Problem solved.
> 
> > On Wednesday, December 7, 2016 at 9:57:05 AM UTC-8, Bill Dale wrote:  
> > How do I set the server and web password for the GUI console without using the Web GUI or your installer. I need this for server build automation and auto scaling on AWS.
> > 
> > Thanks,
> > 
> > – Billy Dale
> 
> –  
> You received this message because you are subscribed to the Google Groups “Lucee” group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [lucee+unsubscribe@googlegroups.com](mailto:lucee+unsubscribe@googlegroups.com).  
> To post to this group, send email to [lucee@googlegroups.com](mailto:lucee@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/lucee/cfa750d4-36ab-4b33-941e-1aef553edaa1%40googlegroups.com](https://groups.google.com/d/msgid/lucee/cfa750d4-36ab-4b33-941e-1aef553edaa1%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
