node red admin password setting

To set the admin password in Node-RED, follow these steps:

  1. Open the Node-RED editor by typing the appropriate URL in your web browser (e.g., http://localhost:1880).
  2. Click on the menu icon in the top-right corner of the editor.
  3. Select "Settings" from the dropdown menu.
  4. In the "Settings" menu, click on the "Security" tab.
  5. Scroll down to the "Admin Auth" section.
  6. To enable password authentication, check the "Use adminAuth" box.
  7. Enter a username of your choice in the "Username" field.
  8. Enter a password of your choice in the "Password" field.
  9. Re-enter the password in the "Confirm Password" field for verification.
  10. Click on the "Deploy" button in the top-right corner of the editor to save the changes.

Once you have completed these steps, the admin password for Node-RED will be set, and you will need to enter the specified username and password to access the editor and perform administrative tasks.