Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 17:57:53 -0500
From:      "Chris" <chris@coolarrow.com>
To:        "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re[2]: security run output
Message-ID:  <200407271757530797.09E141DE@coolarrow.com>
In-Reply-To: <4106BCA6.8070908@daleco.biz>
References:  <200407270748000178.07B2E20B@coolarrow.com> <4106BCA6.8070908@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
*This message was transferred with a trial version of CommuniGate(tm) Pro*

Hmm, I found:

/etc/periodic/security/700.kernelmsg

which seems to be what generates the information I was talking about in the=
 email. So I guess you were correct that it's not from /var/log/messages=
 after all.

Having said that, I don't have any idea if there is something in that small=
 script that I could change to increase the number of lines it puts into=
 the email. It's a bourne shell script, it appears:

if [ -r /etc/defaults/periodic.conf ]
then
    . /etc/defaults/periodic.conf
    source_periodic_confs
fi

. /etc/periodic/security/security.functions

rc=3D0

case "$daily_status_security_kernelmsg_enable" in
    [Yy][Ee][Ss])
        dmesg 2>/dev/null |
            check_diff new_only dmesg - "${host} kernel log messages:"
        rc=3D$?;;
    *)  rc=3D0;;
esac

exit $rc


And thanks for that script - I'll give it a try.

Chris






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407271757530797.09E141DE>