Page 1 of 1

Unable to login authenticated mode

Posted: Sun Mar 19, 2006 12:36 am
by martrw
Using 1.21.4, reinstalled after failed upgrade to 1.22.0. Uninstalled all 1.22.0 files I could locate.

1.21.4 ran well prior to upgrade. During install from binary, database zm/users was not populated with admin:admin user. Manually added both admin:admin and rob:password to zm/users database. Stop/Start zmpkg.pl. Cannot log in to Zoneminder after making these changes.

I am typing the password directly into the password field in the users database.

Copy and paste from Webmin interface to zm/users table below:

admin admin en_gb 1 View Edit Edit Edit Edit Low Camera1

Help Please... Rob

Posted: Sun Mar 19, 2006 12:43 am
by jameswilson
i dont know how to fix that but if you need to get in you could turn off auth mode temorarily from webmin

Posted: Sun Mar 19, 2006 6:33 am
by martrw
James

Been turning it on and off using zmconfig.pl, but that is not how I wanted to use this package.

Thanks... Rob

Posted: Mon Mar 20, 2006 5:22 pm
by zoneminder
The password in the DB is not the raw password. You need to set it as follows

Code: Select all

update Users set Password = password( "admin" ) where...
rather than just Password = "admin".

Posted: Tue Mar 28, 2006 7:02 pm
by martrw
Thanks... now I know.

I ended up going in the backdoor. I finally got admin/admin up, but without system privilidges, so I couldn't add additional users.

Since I could get to the DB through Webmin, I copy/pasted the admin coded password to user "rob" and gave myself all privildges. Update Options from ZoneMinder and I'm up and running again... finally.

Excellent program... there needs to be a "ZoneMinder for Dummies" text.