How to enable username and password

What is the problem?
Not sure how to setup a password to protect the webui

What did you already try to solve it?
Looked in settings, googled..
Logs (octoprint.log, serial.log or output on terminal tab, browser error console ...)

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ...)

Running Ocotprint on a Raspi 3B+ which works great. However I am never prompted for a username or password but I recall setting one up during install...

I do have TouchUI plugin and used the "blaze" or whatever script that was to come up to that automatically. Is that the issue?

The User Access feature is selected during the initial Setup Wizard. You'd add a username/password combination there. Here's how to set the configuration so that it will display the next time you visit the web interface.

Close your browser session.

Remote into the Pi, then:

sed -i -e 's/firstRun: false/firstRun: true/g' ~/.octoprint/config.yaml
sudo service octoprint restart

Give it two minutes then visit it in your browser.

Note that all of this is different from the password that you might have changed for the pi user within the Raspbian operating system itself.

Perfect. Thank you. I will do it soon as this print finishes.