# Docker Based Node-red User default password

**URL:** <https://discourse.nodered.org/t/docker-based-node-red-user-default-password/237>\
**Category:** General\
**Created:** [18 May 2018 15:40 UTC](https://discourse.nodered.org/t/docker-based-node-red-user-default-password/237 "2018-05-18T15:40:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eyad](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Eyad](https://discourse.nodered.org/u/Eyad)\
**Post date:** [18 May 2018 15:40 UTC](https://discourse.nodered.org/t/docker-based-node-red-user-default-password/237/1 "2018-05-18T15:40:05Z")

</div>

Hello

I am using docker based Node-red container in raspberry Pi "nodered/node-red-docker:rpi"and I would like to apply the login authentication for both the UI and the dashboard but when I am trying to edit the **settings.js** or apply any command using **sudo** , I am getting that I should enter the node-red user password.  
I tried to search the internet and I couldn’t found any related information.  
I would like to ask what is the node-red or root password ?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [18 May 2018 16:14 UTC](https://discourse.nodered.org/t/docker-based-node-red-user-default-password/237/2 "2018-05-18T16:14:26Z")

</div>

I don’t think we configure one by default. You would need to rebuild the image from the Dockerfile and add in that capability and keep it secure of course. But it may be better to edit the settings as part of the rebuild.

---

<div class="post-metadata">

**Author:** ![Eyad](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Eyad](https://discourse.nodered.org/u/Eyad)\
**Post date:** [20 May 2018 14:42 UTC](https://discourse.nodered.org/t/docker-based-node-red-user-default-password/237/3 "2018-05-20T14:42:59Z")

</div>

> [@dceejay](#):
>
> I don’t think we configure one by default. You would need to rebuild the image from the Dockerfile and add in that capability and keep it secure of course. But it may be better to edit the settings as part of the rebuild.

Thank you.  
I will try to rebuild the image.
