Page 1 of 1
Where are ZM authentications logged?
Posted: Thu Jun 25, 2009 2:54 pm
by btrotter
I am using the opt_use_auth feature and have several users setup in ZM. I would like to check periodically to see who has logged in, how long they were logged in, etc.
The best I could find was looking at the /var/log/apache2/access.log and seeing different IP addresses coming in, but I was hoping for something a little easier to look at quick.
Posted: Sun Jun 28, 2009 4:50 am
by kingofkya
you might need to write a script for that one but try doing a
on on file
Posted: Mon Jun 29, 2009 9:45 am
by zoneminder
Coming in the next version or two will be a feature to have this information written to the DB as system events.
Posted: Mon Jun 29, 2009 2:55 pm
by coke
Sweet, Phil.
Posted: Mon Jun 29, 2009 3:00 pm
by btrotter
zoneminder wrote:Coming in the next version or two will be a feature to have this information written to the DB as system events.
Thats cool, thank you.
For now, even if I need to write a script which greps for something, would this go into the access.log, or is it logged anywhere?
Posted: Mon Jun 29, 2009 3:24 pm
by zoneminder
It is not. The simplest thing to do would be to edit web/includes/functions.php and put something in the userLogin function, or in web/includes/actions.php where that function is called.