From owner-freebsd-questions Tue Oct 30 19:12:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sunny.pacific.net.sg (sunny.pacific.net.sg [203.120.90.127]) by hub.freebsd.org (Postfix) with ESMTP id 9264237B406 for ; Tue, 30 Oct 2001 19:12:14 -0800 (PST) Received: from smtp1.pacific.net.sg (smtp1.pacific.net.sg [203.120.90.70]) by sunny.pacific.net.sg with ESMTP id f9V3CCo12360 for ; Wed, 31 Oct 2001 11:12:12 +0800 (SGT) Received: from ap_280868.pacific.net.sg ([203.208.143.98]) by smtp1.pacific.net.sg with ESMTP id f9V3CCd06294 for ; Wed, 31 Oct 2001 11:12:12 +0800 Message-Id: <5.1.0.14.0.20011031103133.00a44760@po.pacific.net.sg> X-Sender: nchee_hoong@po.pacific.net.sg X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 31 Oct 2001 11:18:52 +0800 To: freebsd-questions@FreeBSD.ORG From: Kelvin Ng Chee Hoong Subject: Clean up log files when logout Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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