What user to run zmaudit.pl?
Posted: Mon Jun 26, 2023 3:04 am
I had my disk fill up. The machine was still running but zoneminder wasn't, or at least the web page didn't work. So I deleted older image files and rebooted. Zoneminder is working. Tried to run zmaudit using putty from another pc. Got a messange:
Zoneminder configuraton file found but is not readable. Check file permissions on /etc/zm/zm.conf
Am I supposed to run this as a specific user? The man page says nothing about this.
using ls -al I see owner is root and group is www-data
So guessing I should run this as root, i.e.
sudo zmaudit.pl
but want to check before I do that...
Zoneminder configuraton file found but is not readable. Check file permissions on /etc/zm/zm.conf
Am I supposed to run this as a specific user? The man page says nothing about this.
using ls -al I see owner is root and group is www-data
So guessing I should run this as root, i.e.
sudo zmaudit.pl
but want to check before I do that...