/usr/share/doc/freeradius/examples/radiusd.cron.monthly is in freeradius 2.1.12+dfsg-1.2.
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 | #! /bin/sh
#
# radiusd Cron script to rotate radwtmp file monthly.
#
prefix=/usr
localstatedir=/var
logdir=/var/log/freeradius
umask 022
cd $logdir
# Take care of the standard logfiles.
cd $logdir
if [ -f radwtmp ]
then
savelog -g adm -m 644 -c 6 radwtmp > /dev/null
fi
|