Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!pith.uoregon.edu!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!worldnet.att.net!newsxfer2.itd.umich.edu!uunet!in1.uu.net!192.233.85.167!shore!brianb From: brianb@shore.net (Brian Beaulieu) Newsgroups: comp.unix.admin,comp.unix.bsd.freebsd.misc Subject: Re: Limiting /tmp usage Date: 23 Dec 1996 22:42:50 GMT Organization: Shore.Net; a service of Eco Software, Inc. (info@shore.net) Lines: 16 Message-ID: <59n1ta$3dg@fridge-nf0.shore.net> References: <59mvr4$283@fridge-nf0.shore.net> <59n1n2$495@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:52279 comp.unix.bsd.freebsd.misc:33027 Nathan V. Patwardhan (nvp@shore.net) 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. Very good suggestion.... Thanks! Brian