View | Details | Raw Unified | Return to bug 17155 | Differences between
and this patch

Collapse All | Expand All

(-)security Fri Mar 3 15:57:52 2000 (+15 lines)
Lines 48-53 Link Here
48
       mv $TMP $LOG/setuid.today
48
       mv $TMP $LOG/setuid.today
49
fi
49
fi
50
50
51
if mount -p > $TMP; then
52
       if [ ! -f $LOG/mount.today ]; then
53
               separator
54
               echo "no $LOG/mount.today"
55
               cp $TMP $LOG/mount.today
56
       fi
57
       if cmp $LOG/mount.today $TMP >/dev/null 2>&1; then :; else
58
               separator
59
               echo "$host changes in mounted filesystems:"
60
               diff -b $LOG/mount.today $TMP
61
               mv $LOG/mount.today $LOG/mount.yesterday
62
               mv $TMP $LOG/mount.today
63
       fi
64
fi
65
51
separator
66
separator
52
echo "checking for uids of 0:"
67
echo "checking for uids of 0:"
53
awk -F: '$3==0 {print $1,$3}' /etc/master.passwd
68
awk -F: '$3==0 {print $1,$3}' /etc/master.passwd

Return to bug 17155