Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-14-2001, 10:48 PM   #1
LQ Newbie
Registered: Jun 2001
Posts: 1

Rep: Reputation: 0

how to set up a quota for group???
the user quota is work... only group quota doesn't work.??

edquota -g groupname.......

plz help !
Old 06-15-2001, 04:56 PM   #2
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
Lightbulb RE: RED HAT 7.1 ... how to set up quota for group

You didn't give much in the way of error messages, but just to make sure you're set up right I'll give you some info on group quotas, Ok? :-)

Partitions needing group quota support should have the "grpquota" option in the /etc/fstab file, just like the "usrquota" option . NOTE: it is acceptable to have both options enabled. For example, if /dev/hda5 is mounted to the /home directory and you want that directory to have group quotas, the /etc/fstab entry would be similar to this:

/dev/hda5 /home ext2 defaults,grpquota 1 1

The Quota Database:

Create the database files to store the user and group quota information. These files are empty, they are positioned at the root of each partition to have quotas, they should be readable only by the root user, and they must be named "quota.user and". To create these files with the appropriate permissions, use the su command to become the root user, go to the root of the partition, and use hte "touch" command to create the files necessary to hold the quota database. For example, to set quota controls over /dev/hda5, which gets mounted to /home, use the "cd" command to go into the /home directory and type the following:

cd /home
touch quota.user
chmod 600 quota.user
chmod 600

Now you're ready to configure individual quota settings.

Hopt this helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
red hat 7.0 package group problems stu123 Linux - Software 3 10-06-2005 08:56 AM
How To Set Up Lexmark Printer On Red Hat paschim Linux - Hardware 3 08-31-2004 05:12 PM
Script to set different quota depending on User's Group ID TechNett Programming 6 08-09-2004 02:45 PM
Disk Quota Problem in Red Hat 9.0 linuxeagle Linux - General 3 01-14-2004 12:56 PM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration