Creating User & Group Quota


images

Setting Quotas
Launch Linuxconf
Select Config
File Systems
Set Quota Defaults
Specify Desired Defaults Limits
Click Accept Button

Setting & Creating User Quota
To set a quota for a user
Command
edquota -u user

Command
quota -u user

To Create a User quota
/dev/hda6  /home  ext2  defaults  usrquota 1  2

Setting & Creating Group Quota
To set a quota for a group

Command
edquota -g group

Command
quota -g group

To Create a Group Quota
/dev/hda6  /home  ext2  defaults  grpquota 1  2

Setting Grace Period
To set the grace period, issue with the command

Command
edquota -t

Setting Quotas for Multiusers
edquota -p user
edquota user
edquota -p user user1 user2

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s