Admin Priviledges Lost

Forum for questions and support relating to the 1.25.x releases only.
Locked
coinageboy
Posts: 17
Joined: Sun May 27, 2012 1:06 am

Admin Priviledges Lost

Post by coinageboy »

Hi,

I am logged as admin password admin and the Console does not show the "Options" menu.

I might have accidentally reset admin/admin to something that disables the access to the "Options", as I was playing with it.

Is there a way to restore my access to the "Options" menu other than reinstalling Zoneminder??
coinageboy
Posts: 17
Joined: Sun May 27, 2012 1:06 am

Re: Admin Priviledges Lost

Post by coinageboy »

OK,

I figured it out.

I have accidentally changed Stream, Events and Control for admin to 'View' and thus was unable to do admin things.

The solution was to add a new user 'boy' into MySql with all the priviledges and encrypted 'admin' = '*4ACFE3202A5FF5CF467898FC58AAB1D615029441',
Then I can log in as 'boy'/'admin' and have access to Options, Etc...

Here are the steps:

mysql -u root -p

use zm

insert into Users values ('','boy','*4ACFE3202A5FF5CF467898FC58AAB1D615029441','',1,'View','Edit','Edit','Edit','Edit','Edit','','');

Hope this will help someone,
Augustine Lehecka
Locked