motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.94k stars 650 forks source link

default username admin cannot be changed #2946

Open inuonly opened 6 months ago

inuonly commented 6 months ago

Option to change admin username from admin to custom user defined string.

Description: There is no option to change admin user account, by default it uses admin and is not editable. This is not secure considering we are dealing with cameras as admin is the common way to exploit any system. If we can make it to be renamed to something else, this could be better than having just admin.

How to reproduce : We are using docker version of motioneye to setup our instance with ccrisan/motioneye:master-amd64 as image as instruction in documentation page.

Expected behaviour: If there can be a environment variable or config added to change admin, that would be neat to deal with this situation.

Hope this helps. Good Luck!