1833562 Members
3096 Online
110061 Solutions
New Discussion

Re: sulog entries

 
dhanish
Regular Advisor

sulog entries

I have a questioj if i reboot my system then sulog ,wtmp,btmp entries will remain there or they will be flused.
Never Say Die
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: sulog entries

Hi,

They will grow without limits. Normally, a cronjob is setup to do something like:
cp /var/adm/sulog /var/adm/sulog.old
compress /var/adm/sulog.old
cp /dev/null /var/adm/sulog
If it ain't broke, I can fix that.
nancy rippey
Trusted Contributor

Re: sulog entries

/var/adm/sulog will be moved to /var/adm/OLDsulog upon a reboot.
You could run a cron job to copy, move, rename, zero out etc. wtmp and btmp.

Hope this helps
nrip