# forgot node red login password

**URL:** <https://forums.balena.io/t/forgot-node-red-login-password/358444>\
**Category:** balenaOS\
**Tags:** node-red\
**Created:** [June 1, 2022, 9:44am UTC](https://forums.balena.io/t/forgot-node-red-login-password/358444 "2022-06-01T09:44:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![matisok](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@matisok](https://forums.balena.io/u/matisok)\
**Post date:** [June 1, 2022, 9:44am UTC](https://forums.balena.io/t/forgot-node-red-login-password/358444/1 "2022-06-01T09:44:12Z")

</div>

Hi.

I use balena to manage a few rpi’s running node-red. It works a charm and has done over a number of years now. I needed to go to the node-red interface and change a few nodes and I am prompted with the login to node-red to allow me to change anything. And I can’t remember the password or the user name for that matter.

How do I reset/change the password - I tried from the device-variables interface in the balena dashboard, but it doesn’t seem to work when I change the uname to admin and password to admin. Any suggestions?

Thanks

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [June 1, 2022, 10:44am UTC](https://forums.balena.io/t/forgot-node-red-login-password/358444/3 "2022-06-01T10:44:09Z")

</div>

Hello @matisok

What node-RED balena application are you using? any from the [balenaHub](https://hub.balena.io)?

Are you using [this block](https://hub.balena.io/organizations/balenablocks/blocks/balena-node-red)? For this one, username and password are `balena`.

Let us know more information please!

Thanks

---

<div class="post-metadata">

**Author:** ![matisok](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@matisok](https://forums.balena.io/u/matisok)\
**Post date:** [June 1, 2022, 2:30pm UTC](https://forums.balena.io/t/forgot-node-red-login-password/358444/5 "2022-06-01T14:30:41Z")

</div>

I have attached a screenshots of my environment. I am changing the variable USERNAME and PASSWORD but it doesn’t seem to reflect out in the client.

 ![Screenshot 2022-06-01 at 16.26.18](https://global.discourse-cdn.com/balena/original/2X/9/980c54783fcc1e4aac80ad319d945ceb622293b8.png)

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [June 1, 2022, 3:20pm UTC](https://forums.balena.io/t/forgot-node-red-login-password/358444/6 "2022-06-01T15:20:25Z")

</div>

Did you try to change the `USERNAME` and `PASSWORD`?

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [June 1, 2022, 3:45pm UTC](https://forums.balena.io/t/forgot-node-red-login-password/358444/7 "2022-06-01T15:45:44Z")

</div>

@matisok I’m thinking other things that you can do.

Easiest is to try to add a Device Variable called `ENCRIPTION_KEY` and the value `balena`. Try to see what happens.

Another thing that you can do, is to comment these lines but then you will need to push a new releease on your fleet. Not sure if this is going to break anything → [nodeRED-iiot-gateway/settings.js at f3e9777684fc1274ba14e64772c46996b4fb2d8f · mpous/nodeRED-iiot-gateway · GitHub](https://github.com/mpous/nodeRED-iiot-gateway/blob/f3e9777684fc1274ba14e64772c46996b4fb2d8f/node-red/app/settings.js#L107)

Let me know if that works!

---

<div class="post-metadata">

**Author:** ![matisok](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@matisok](https://forums.balena.io/u/matisok)\
**Post date:** [June 3, 2022, 11:14am UTC](https://forums.balena.io/t/forgot-node-red-login-password/358444/9 "2022-06-03T11:14:09Z")

</div>

Commenting out the lines in the settings file worked! Thanks a lot.

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [June 3, 2022, 11:20am UTC](https://forums.balena.io/t/forgot-node-red-login-password/358444/10 "2022-06-03T11:20:01Z")

</div>

@matisok thanks for sharing the solution! Feel free to mark the message with the solution tag 🙂
