On Tue, 28 Mar 2023 07:56:48 +0200 Antonio <antde...@gmail.com> wrote:
> Thank Richard,
> I will do some tests with the diff mode.
>
> For now, I changed /etc/chkrootkit/chkrootkit.conf:
>
> MAILTO="journal"
>
> - and added this on "/usr/sbin/chkrootkit-daily":
>
>                  if [ "$MAILTO" = "journal" ]; then
>                      logger --file "$FILE"
>                  else
>                      mail -s "$SUBJECT" "$MAILTO" < "$FILE"
>                  fi
>
> for send the output to the journal.

Reviewing this again -- I dont believe you need to edit
chkrootkit-daily at all, simply set
MAILTO="" in chkrootkit.conf and the output will end up on stdout, and
systemd will put that into the journal

So i think we might close this bug?

Reply via email to