Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rosie!mmajka From: mmajka@next.com (Marc Majka) Newsgroups: comp.sys.next Subject: Re: Toward a "Public NeXT Lab" guidebook Message-ID: <996@rosie.NeXT.COM> Date: 19 Jun 91 21:01:58 GMT References: <9106141908.AA25449@cheops.cis.ohio-state.edu> <1721@toaster.SFSU.EDU> Sender: news@NeXT.COM Organization: Next Computer, Inc. Lines: 40 Nntp-Posting-Host: edge.next.com EPS writes: > Quotas are evil; [...] True, but a System Administrator is sometimes caught in the crossfire. Quotas may be a "necessary" evil. This thread reminded me that I wrote a disk space and printer page quota package which might be useful to those who need to be evil :-) I just cleaned it up a bit and put it up on cs.orst.edu, in pub/next/submissions/Quotas.tar.Z, and on cs.ubc.ca, in next/ubc/Quotas.tar.Z on cs.ubc.ca. I could not connect with purdue, so I'll try puting it over there later. *Disclaimer* This stuff was written when I worked for the University of British Columbia, and it did what it needed to do. It is not a product of, nor supported by NeXT. Feel free to cut it up, use any parts you want, and pass it around. Nutshell description: Users have new NetInfo Properties (pageusage, pagequota, diskquota). Page quotas do NOT work on NeXT printers. /usr/lib/transcript/psif updates NetInfo. A "du" based disk usage checker gets run by cron at 4am. Users over disk quota, or low on space get mailed a message. Chronic over-quota users get a * in their password after a while. A "Quotas" App allows users to inspect their own usage and quotas, and permits managers to change them. I forget if I put it in the package, but I ran a program that did "du -s ~ > ~/.diskusage" from LogoutHook. The Quotas App uses that value if it exists (and is faster!). As an added bonus, you get an App called PrinterQueue, which watches a printer queue. It is much like PrintManager's "Queue", but it lists jobs they you own in bold and doesn't permit reconfiguration of the printer. If you are interested, grab a copy and *read* the README.wn file. Installation requires some knowledge. --- Marc Majka, Speaking for Himself