*BSD News Article 85429


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.bbnplanet.com!cpk-news-hub1.bbnplanet.com!cam-news-feed2.bbnplanet.com!shore!nvp
From: nvp@shore.net (Nathan V. Patwardhan)
Newsgroups: comp.unix.admin,comp.unix.bsd.freebsd.misc
Subject: Re: Limiting /tmp usage
Followup-To: comp.unix.admin,comp.unix.bsd.freebsd.misc
Date: 23 Dec 1996 22:39:30 GMT
Organization: Shore.Net; a service of Eco Software, Inc. (info@shore.net)
Lines: 18
Message-ID: <59n1n2$495@fridge-nf0.shore.net>
References: <59mvr4$283@fridge-nf0.shore.net>
NNTP-Posting-Host: shell2.shore.net
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.admin:52228 comp.unix.bsd.freebsd.misc:32949

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.

--
Nate [nvp@shore.net||nvp@nfic.com]
"Take them to the Iron Maiden" 
IRON MAIDEN ... EXCELLENT! 
"Execute them!" 
BOGUS...
			- Bill and Ted's Excellent Adventure