Enabling quotas for users

Check to make sure the quota package is installed, else run:

# yum install quota


Edit "/etc/fstab" and add "usrquota,grpquota" to the / partition:

LABEL=/    /    ext3    defaults,usrquota,grpquota    1 1


Then run:

# mount -o remount /
# quotacheck -avugm
# quotaon -avugm


To check quotas for all users:
# repquota -a


To edit quota for a particular user:
# edquota -u <user>


Alternately use setquota:
# setquota <softlimit> <hardlimit> 0 0 <user>

Post new comment

  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.
Comment