Unable to authenticate user after changing password

Forum for questions and support relating to the 1.24.x releases only.
Post Reply
PacoLM
Posts: 967
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Unable to authenticate user after changing password

Post by PacoLM » Tue Jan 26, 2010 6:36 pm

Hi,

System: Ubuntu 9.04, ZM 1.24.2, one single user as administrator.
Is it a bug or a feature?. I have changed the password of my ZM system, the username is the same as the root, and the password was the root pwd too.
I have create a new user just to have remote access, no privileges to change the setup, and for security reasons, I have changed the password of the administrator at ZM level (not the ubuntu system pwd).
I was surprised when I was able to logon with the admin username and new password, and had access to all the options, but no image was shown.
I've tried with the other username, with no system privileges and I was able to watch the image of the monitor.
After checking the var/log/messages, I read this line:
Jan 26 18:26:44 paco-desktop zms[3898]: WAR [Unable to authenticate user paco]
So ZM was able to let me get in, but the user was not recognized. I believe the error is at MySQL level (maybe I'm wrong). I rebooted, started and stopped ZM and apache2 several times, no success.
I switched back to my old password (same as root), and worked fine.

Is it normal???

Regards,

Paco

dc740
Posts: 5
Joined: Wed May 20, 2015 3:24 am

Re: Unable to authenticate user after changing password

Post by dc740 » Thu Dec 31, 2015 10:11 pm

You can try this, it worked for me:
  • Disable the authentication
  • Edit /etc/php5/apache2/php.ini and edit the value for date.timezone, for a list of allowed values have a look at http://www.php.net/manual/en/timezones.php (you have to choose your time zone).
  • After this you can re enable hash based authentication in ZoneMinder, this should work now again without any issues.
  • Restart Zoneminder if it doesn't work.
form here:
viewtopic.php?f=29&t=19657&p=76785&hili ... LAY#p76785

PacoLM
Posts: 967
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Unable to authenticate user after changing password

Post by PacoLM » Fri Jan 01, 2016 7:01 pm

Thanks or the reply. Really old post, it has almost 6 years!

I learnt how to do this some time ago.

Thanks,

PacoLM

mini-ITX system (6 IPCams - Ubuntu14.04 - ZM1.31.1)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests