From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a2c2e36b6a10907f X-Google-Attributes: gidfee84,public From: keith@alpha.delta.edu (Keith DeLong) Subject: Re: HELP: Quotas on OSF/1 Date: 1995/07/22 Message-ID: <3uquha$q5e@alpha.delta.edu>#1/1 X-Deja-AN: 106708082 references: organization: Delta College newsgroups: comp.unix.osf.osf1 Ratish J. Punnoose (punnoose@pluto.ee.cua.edu) wrote: : I am running OSF/1 3.2 on an Alpha Station. I have trying in vain to : enforce file system quotas. I can use the edquota command and the : vedquota (for the Advanced FileSystem). But I do not know what to enter ------- I use the vedquota for AFS file systems. Basically you can change the quota by changing the 0's that come next to "soft" and "hard" to what you want the quotas to be, then just save the file using the editor commands. Soft is the long term maximum, Hard is an extra allocation that they can use for a fixed number of minutes/days/ etc. After the time is up, they cant save any more files, until they delete enough to go back under the soft quota, then the hard quota timer resets. The hard quota timer is set with another option of vedquota, although I don't remember off the top of my head what it is. Since I pretty much want all our users to be the same, I created a user who's actual name is 'quota' (it could be anything) And I set the quota's on the "quota" user, and tell vedquota to a particular user just like the "quota" user. I incorporated that into our account creation so it sets the user like "quota" when the account is created. In the beginning, when I set quotas on existing users, I wrote a little shell script to look at all the entries in the main users directory (which happen to be the same as their usernames) and set each of the usernames using vedquota like the "quota" user. (I keep root and other non-quoted directories under another directory tree, so it worked out fine.) --Keith -- ---------------------------------------------------------------------- Keith DeLong Phone: 517-686-9536 <-- NEW Number Delta College Email: Keith_DeLong@delta.edu University Center, MI 48710 Home: http://www.delta.edu/~keith