From mike@boobaz.net Sun May 13 19:57:32 2001 Received: from mxu2.u.washington.edu (mxu2.u.washington.edu [140.142.32.9]) by lists.u.washington.edu (8.11.2+UW01.01/8.11.2+UW01.04) with ESMTP id f4E2vV043618 for ; Sun, 13 May 2001 19:57:31 -0700 Received: from boobaz.net (c1056043-a.sttln1.wa.home.com [24.19.193.36]) by mxu2.u.washington.edu (8.11.2+UW01.01/8.11.2+UW01.04) with ESMTP id f4E2vUK30834 for ; Sun, 13 May 2001 19:57:31 -0700 Received: from c1056043-a (c1056043-a [24.19.193.36]) by boobaz.net (8.11.1/8.11.1) with ESMTP id f4E2vTf14808 for ; Sun, 13 May 2001 19:57:29 -0700 Date: Sun, 13 May 2001 19:57:29 -0700 (PDT) From: Mike X-Sender: mike@c1056043-a.sttln1.wa.home.com To: UW Linux Group Subject: Re: Using edquota on RH7.0 [was Re: quota on RH7.0] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII For each filesystem you want quotas for, you must edit /etc/fstab and add the 'usrquota' and/or 'grpquota' options: /dev/hda1 / ext2 defaults,usrquota 1 1 Then you must create the empty files 'quota.user' and/or 'quota.group' at the root of each of those partitions: # touch /quota.user /quota.group # chmod 0600 /quota.* Then you must run 'quotacheck -a' to look over the filesystem(s) (which have quota options in /etc/fstab) and it will fill in the quota.* files for you: # quotacheck -a < you hear some disk activity > Now you can edit a user or group quota: # edquota -u test and it's filled out: Quotas for user test: /dev/hda1: blocks in use: 6, limits (soft = 0, hard = 0) inodes in use: 6, limits (soft = 0, hard = 0) --------------------------- -=<(| mike@boobaz.net |)>=- On Sun, 13 May 2001 at 17:52, 'The Pho Man' Doug McLean wrote: |Yeah, I do recall trying to run edquota before. However, when editing the |quota file for a particular user, what is the syntax to use in that file |to specify hard/soft limits? The man page does not mention this. | |Doug McLean | | "True words seem contradictory." | --Lao Zi | |On Thu, 10 May 2001, Mike wrote: | ||It looks to me like 'edquota' might do what you want. || ||% man -k quota ||edquota (8) - edit user quotas ||importquota (8) - change running parameters for customs ||quota (1) - display disk usage and limits ||quotacheck (8) - scan a file system for disk usages ||quotactl (2) - manipulate disk quotas ||quotaoff [quotaon] (8) - turn file system quotas on and off ||quotaon (8) - turn file system quotas on and off ||repquota (8) - summarize quotas for a file system ||rpc.rquotad [rquotad] (8) - remote quota server ||rquota (3) - implement quotas on remote machines ||rquotad (8) - remote quota server || ||--------------------------- ||-=<(| mike@boobaz.net |)>=- || ||On Thu, 10 May 2001 at 16:37, 'The Pho Man' Doug McLean wrote: || |||How does one establish quotas for user accounts on a linux system like the |||one above? I've read alont about Unix quotas, but this mainly applies to |||systems like AIX, and haven't worked with my linux box at home. I've run |||the quota commands (I think its 'quotaon' and 'addquota' if I remember |||right), but I can't seem to be able to actually define what the account |||quotas will be. Thanks! ||| |||Doug McLean ||| ||| "True words seem contradictory." ||| --Lao Zi ||| || || | | .