*BSD News Article 85451


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.idt.net!mr.net!news.mid.net!news.creighton.edu!bluejay.creighton.edu!lsheldon
From: "L. F. Sheldon, Jr." <lsheldon@creighton.edu>
Newsgroups: comp.unix.admin,comp.unix.bsd.freebsd.misc
Subject: Re: Limiting /tmp usage
Date: Mon, 23 Dec 1996 21:43:56 -0600
Organization: Creighton University, Omaha Nebraska USA
Lines: 32
Message-ID: <Pine.HPP.3.95.961223214206.20927A-100000@bluejay.creighton.edu>
References: <59mvr4$283@fridge-nf0.shore.net> <59n1n2$495@fridge-nf0.shore.net>
NNTP-Posting-Host: bluejay-nfs.creighton.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <59n1n2$495@fridge-nf0.shore.net>
Xref: euryale.cc.adfa.oz.au comp.unix.admin:52238 comp.unix.bsd.freebsd.misc:32955

On 23 Dec 1996, Nathan V. Patwardhan wrote:

> Brian Beaulieu (brianb@shore.net) wrote:
> : I'm running FreeBSD 2.2-ALPHA with system quotas.  I was wondering how I
> : could limit the usage of /tmp by users.  The quota fs is /usr/home, which
> : doesn't include /tmp.  Has anyone found a solution for this problem?
> 
> Even easier than quotas.  Run a cron that job clears out /tmp (by uid,
> perhaps) every x m/h/day, whatever.  Naturally, advise your users of
> this.  :)  You could even write the script your cron job executes to
> warn (via e-mail, zwrite, etc) users that in x amount of time their
> files will be removed from /tmp.

We have had a long-standing policy, enforced by an "electric janitor"
that deletes anything in /tmp owned by somebody not currently logged on.

--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
.                                                                       .
- L. F. (Larry) Sheldon, Jr.                                            -
. Unix Systems Administration                                           .
- Creighton University Computer Center-Old Gym                          -
. 2500 California Plaza                                                 .
- Omaha, Nebraska, U.S.A.  68178       We are all faced with            -
. lsheldon@creighton.edu                  great opportunities           .
- 402 280-2254 (work)                  brilliantly disguised as         -
. 402 681-4726 (cellular)                 impossible situations.        .
- 402 977-2946 (pager)                                                  -
. 402 332-4622 (residence)                  Bits and Pieces             .
-                                                                       -
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.