mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 01:53:46 +01:00
8ba20cc4bc
Suggested by: jkh
19 lines
320 B
Bash
19 lines
320 B
Bash
#!/bin/sh -
|
|
#
|
|
# @(#)monthly 5.5 (Berkeley) 6/17/91
|
|
#
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
host=`hostname -s`
|
|
echo "Subject: $host monthly run output"
|
|
|
|
echo ""
|
|
echo "Doing login accounting:"
|
|
ac -p | sort -nr +1
|
|
|
|
if [ -f /etc/monthly.local ]; then
|
|
echo ""
|
|
echo "Running monthly.local:"
|
|
sh /etc/monthly.local
|
|
fi
|