From owner-freebsd-security Wed Feb 25 18:31:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03868 for freebsd-security-outgoing; Wed, 25 Feb 1998 18:31:37 -0800 (PST) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from mail.iconz.co.nz (mail.iconz.co.nz [202.14.100.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03845 for ; Wed, 25 Feb 1998 18:31:30 -0800 (PST) (envelope-from andrew@squiz.co.nz) Received: from [192.168.1.1] (a.mcn.actrix.gen.nz [203.96.56.128]) by mail.iconz.co.nz (8.8.7/8.8.7) with SMTP id PAA173260888460273 for ; Thu, 26 Feb 1998 15:31:13 +1300 (NZDT) X-Sender: squiz1@pop.actrix.gen.nz Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 26 Feb 1998 15:32:50 +1300 To: freebsd-security@FreeBSD.ORG From: andrew@squiz.co.nz (Andrew McNaughton) Subject: Re: Find, Rm, and Root's Crontab Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk There's been several discussions on BUGTRAQ about race conditions when cleaning /tmp. A good explanation of the problem and suggestions for solutions can be found in an archive of the BUGTRAQ mailing list at: http://geek-girl.com/bugtraq/1996_2/0054.html In other postings there are a couple of programs referred to. This GPL solution was mentioned there and not shot down (as several others suggestions were): ftp://wuarchive.wustl.edu/systems/linux/redhat/redhat-4.2/SPRMS/tmpwatch-1.2 .1-1.rpm There's also a full listing of a largish perl script to do the job in the BUGTRAQ archive. No suggestion of it's being incorrect, but it's a fair size pile of code to go through. I have no personal experience of either of these /tmp cleanup programs as yet. Andrew McNaughton The effort to understand the universe is Andrew McNaughton one of the very few things that lifts ++64 4 389 6891 human life above the level of farce, andrew@squiz.co.nz and gives it some of the grace http://www.squiz.co.nz of tragedy - Steven Weinberg http://www.newsroom.co.nz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe security" in the body of the message