I have just installed Node-Red on my Qnap (container station) and now I would like to secure it with a password.
I understand (https://nodered.org/docs/security) that I need to edit "settings.js"
I found such a file in /share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay2/97fdfecb5.........40ade211b/diff/usr/src/node-red/node_modules/node-red/
But before editing that file I need to generate the password hash
My problem : I know almost nothing about Unix.
Where do I type the command "npm install -g node-red-admin"
It seems like everywhere type that command I get the message
"-sh: npm: command not found"
Thanks for reading my question