scottlamb / moonfire-nvr

Moonfire NVR, a security camera network video recorder
Other
1.18k stars 138 forks source link

What is the default account password? #314

Closed litemini closed 2 months ago

litemini commented 3 months ago

May I ask what the default account password is for docker compose deployment?

Screenshots 2024-04-05-00:27-1773

Server (please complete the following information):

scottlamb commented 3 months ago

A fresh Moonfire installation has no users so no passwords either. You can add them through the moonfire-nvr config interface mentioned in the installation instructions.

btw, you can also add them through the web UI. You might wonder how you can get into that before you have any users. You could...

  1. allow editing users without any authentication. The install instruction's first config has allowUnauthenticatedPermissions = { viewVideo = true } in it. You could change that to allowUnauthenticatedPermissions = { viewVideo = true, adminUsers = true }. Of course get rid of this before exposing Moonfire to the Internet.
  2. allow Unix socket-based authentication as described in the config reference, run an ssh port forward from the machine you're sitting at to the NVR machine, and point your web browser at the local side. This is a nice way if you're already familiar with ssh port forwards.