* How to clear the binary errorlog file ???
@ 1997-09-19 4:00 Kurt Pintoffl
1997-09-19 4:00 ` J-L. Risler
0 siblings, 1 reply; 2+ messages in thread
From: Kurt Pintoffl @ 1997-09-19 4:00 UTC (permalink / raw)
Hi all,
Would anyone please tell me an official way to set the binary errorlog
file to 0?
Is it ok to clear the file /usr/adm/binary.errlog, then touch the same
file and set the permissions to 640 for root:adm ?
If yes, how can I produce an entry just for testing (without doing a
reboot or hurting the system)???
Thanks for quick answers!
Kurt
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to clear the binary errorlog file ???
1997-09-19 4:00 How to clear the binary errorlog file ??? Kurt Pintoffl
@ 1997-09-19 4:00 ` J-L. Risler
0 siblings, 0 replies; 2+ messages in thread
From: J-L. Risler @ 1997-09-19 4:00 UTC (permalink / raw)
In article <kurt.pintoffl.99.000B3ADC@joanneum.ac.at>,
kurt.pintoffl@joanneum.ac.at says...
>
>Hi all,
>Would anyone please tell me an official way to set the binary errorlog
>file to 0?
>Is it ok to clear the file /usr/adm/binary.errlog, then touch the same
>file and set the permissions to 640 for root:adm ?
>If yes, how can I produce an entry just for testing (without doing a
>reboot or hurting the system)???
>
>Thanks for quick answers!
>
>Kurt
>
>
Hi,
I don't know whether this is "official" or not but what I do regularly is:
cat /dev/null > xxx where xxx is any log file in /var/adm/......
This protects the correct permissions while zeroing the file. So far I
encountered no problem.
Cheers,
--
-------------------------------
Jean-Loup RISLER
risler@genetique.uvsq.fr
Universite de Versailles
45 Avenue des Etats-Unis
78035 Versailles Cedex France
-------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-09-19 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-19 4:00 How to clear the binary errorlog file ??? Kurt Pintoffl
1997-09-19 4:00 ` J-L. Risler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox