This file is indexed.

/etc/cron.daily/checksecurity is in checksecurity 2.0.15.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/sh
# /etc/cron.daily/checksecurity: Run the checksecurity script
# Steve Greenland <stevegr@debian.org>

LOCKFILE=/var/lock/checksecurity.daily

# The logfile we write our changes into.
LOGFILE=/var/log/checksecurity.log
umask 022

#
# Exit silently if the checksecurity package is not installed. (We may be
# here just because we're conffile left over from a previous installation).
#
[ -e /usr/sbin/checksecurity ] || exit 0
#

#
# Avoid running more than one at a time -- could happen if the
# checksecurity script lands on a network drive.
#

if [ -x /usr/bin/lockfile-create ] ; then
    lockfile-create $LOCKFILE
    if [ $? -ne 0 ] ; then
	cat <<EOF

Unable to run /etc/cron.daily/checksecurity because lockfile $LOCKFILE
acquisition failed. This probably means that the previous days instance
is still running. Please check and correct if necessary.

EOF
	exit 1
    fi

    # Keep lockfile fresh
    lockfile-touch $LOCKFILE &
    LOCKTOUCHPID="$!"
fi

checksecurity daily >>"$LOGFILE"

#
# Clean up lockfile
#
if [ -x /usr/bin/lockfile-create ] ; then
    kill $LOCKTOUCHPID
    lockfile-remove $LOCKFILE
fi