up until now my zonminder was in a private network - so I didn't needed a login.
I have did evertyhing it say here
Code: Select all
https://bkjaya.wordpress.com/2018/08/05/how-to-install-zoneminder-1-30-4-on-raspberry-pi-3-with-raspbian-9-upgraded-from-jessie-to-stretch/
when I enter
localhost/zm
I saw all the cameras.
I have connected the PI into the internet so I can see the cameras from anywhere
and added a new user with all privileges (such as the admin )
after doing this - I can't loggin to the zm .
I have reboot the PI - still nothing - I only get tot he login page .
I thought maybe I wrote the password wrong
so I enter the MariaDB and did it again
Code: Select all
mariadb -u zmuser -p
zmpass
SHOW DATABASES;
use zm;
Select * from Users;
update Users set Password="David@AAA" where Username="David";
Code: Select all
select * from Users;
+----+----------+-------------------------------------------+----------+---------+--------+--------+---------+----------+--------+---------+--------+--------------+------------+
| Id | Username | Password | Language | Enabled | Stream | Events | Control | Monitors | Groups | Devices | System | MaxBandwidth | MonitorIds |
+----+----------+-------------------------------------------+----------+---------+--------+--------+---------+----------+--------+---------+--------+--------------+------------+
| 1 | admin | *C765AEB753A079DA40856E23FBF22D95E64B92F7 | | 1 | View | Edit | Edit | Edit | Edit | Edit | Edit | | |
| 2 | David | David@123! | | 1 | View | Edit | Edit | Edit | Edit | Edit | Edit | high | |
+----+----------+-------------------------------------------+----------+---------+--------+--------+---------+----------+--------+---------+--------+--------------+------------+
reboot the PI
and still I can't enter .
what is wrong , and how can I fix this?
Please answer back
*****
only after I remove the password
Code: Select all
MariaDB [zm]> update Users set Password="" where Username="David";
so what is worng?
how do I make a user and a password that allow me to connect?
Thanks ,