-   Linux - General (
-   -   home directory quota (

edwardcode 04-02-2013 07:50 AM

home directory quota
What I have is about 5 workstations, and a lot of people using the 5 stations all of the time. I need to find a way to put a quota for all user that will be created and that are currently there. I am not sure how that works. All users will have the same quota limit.

Does any one know how to achieve this? Any help would be great.


chrism01 04-02-2013 10:54 PM

FYI quotas are set per user or per group BUT can only be set per partition/filesystem, not per dir.
Anyway, read Chap 7

edwardcode 04-03-2013 09:06 AM

Thanks for your reply.

I can not do a per user quota because there are to many users that move from place to place. So what I am kind of looking for is, some way to globally control the size of all directories under /home/. This way it does not matter if there is a new user or a user that moved from a different computer, they will all have size limitations.

Dose any one have any ideas with that situation?

chrism01 04-03-2013 10:54 PM

Just add them all to a dedicated group eg 'myquotas' and use group level quotas as above.
(a user can be in multiple groups)
Read that link above.

All times are GMT -5. The time now is 04:25 PM.