Re: Does /var/adm/wtmpx get cleared automatically? Daniel Rock <v200731@deadcafe.de> wrote:
> Tristram Scott <tristram.scott@ntlworld.com> wrote:
>> Is there a cron script or something similar which will clear
>> /var/adm/wtmpx?
>
> /usr/lib/acct/runacct will clear wtmpx on each run. Check adm's crontab
> if it runs above script
>
Thanks for that info. Neither root nor adm seem to be doing anything
accounting related. Any other ideas?
Root does this:
10 3 * * * /usr/sbin/logadm
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean
#10 3 * * * /usr/lib/krb5/kprop_script ___slave_kdcs___
Adm does this:
10 1 * * * (cd /var/adm/sa/ && cd .adm && [ -x sadm ] && PATH=. sadm)
>/dev/null 2>&1 &
I'm wondering if perhaps someone has made themself at home on my system.
--
Dr Tristram J. Scott
Energy Consultant |