Unable to login authenticated mode

Support and queries relating to all previous versions of ZoneMinder
Locked
martrw
Posts: 15
Joined: Tue Mar 07, 2006 3:40 am
Location: Tucson, AZ

Unable to login authenticated mode

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
martrw
Posts: 15
Joined: Tue Mar 07, 2006 3:40 am
Location: Tucson, AZ

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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".
Phil
martrw
Posts: 15
Joined: Tue Mar 07, 2006 3:40 am
Location: Tucson, AZ

Post 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.
Locked