I try to execute logcheck from a php page. So I have create a php page with a
button which allow to run logcheck like this : /usr/sbin/logcheck -o >
/var/log/logcheck
(I want to put the result in a file logcheck, that's why I use the option -o)
I have put www-data in the groupe adm : "adduser www-data adm"
And after if I run logcheck like this for exemple:
---------------------------------------------------------------------