Docker Based Node-red User default password



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.



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.