HardenedBSD/etc/monthly
Thomas Graichen 7c1caee10f changed /etc/[daily,weekly,monthly] to not rotate the logfiles by
"hand", changed /etc/crontab to call /usr/sbin/newsyslog every hour
(the entry was there before - but we haven't had any newsyslog until
today :-) and changed /etc/inetd.conf to also contain (commentet out)
entries for rpc.rquotad and rpc.sprayd (taken from NetBSD)
1996-01-05 10:09:13 +00:00

13 lines
215 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