Hello misc@,

a question that bugged me for quite a while:

Why is the accounting in /etc/monthly?
I reffer to these (commented out) lines:

#echo ""
#echo "Doing login accounting:"
#ac -p | sort -nr +1
#
#echo "."

If I uncomment them (as suggested in "Absolute OpenBSD" to get some basic
accounting (or just to find out HOW much time I spend in front of the screen).

I get a report ever month, BUT now the problem:

The way I read "man 8 ac" it states
<quote>
The default wtmp file will increase without bound unless it is truncated.
It is normally truncated by the daily scripts run by cron(8), which re-
name and rotate the wtmp files, keeping a week's worth of data on hand.
No login or connect time accounting is performed if /var/log/wtmp does
not exist.
</quote>

Doesn't this mean that I only get accounting for the last week of the month?
Shouldn't the lines above moved to /etc/weekly?
Did I miss something, or is this the intended behavior (for what reason)?

Regards,
ahb

Reply via email to