Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2001 11:18:52 +0800
From:      Kelvin Ng Chee Hoong <nchee_hoong@pacific.net.sg>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Clean up log files when logout 
Message-ID:  <5.1.0.14.0.20011031103133.00a44760@po.pacific.net.sg>

next in thread | raw e-mail | index | archive | help
Hi ;
     How do I force the system to clean up those unwanted log file when I 
logout the system from my normal user login account ? To my understanding , 
only root or wheel group users are able to remove all log files from 
/var/log . As such , I have no problem to auto clean up the log by writing 
cp /dev/null /var/log/xxx.log in .bash_logout in root directory .
      Please advise , thank you .

   


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20011031103133.00a44760>