LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-02-2013, 07:50 AM   #1
edwardcode
Member
 
Registered: Apr 2010
Posts: 161

Rep: Reputation: 16
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.

Thanks
 
Old 04-02-2013, 10:54 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
FYI quotas are set per user or per group BUT can only be set per partition/filesystem, not per dir.
Anyway, read Chap 7 http://www.linuxtopia.org/online_boo...ion/index.html
 
Old 04-03-2013, 09:06 AM   #3
edwardcode
Member
 
Registered: Apr 2010
Posts: 161

Original Poster
Rep: Reputation: 16
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?
 
Old 04-03-2013, 10:54 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
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.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
directory quota rcm Linux - Server 9 06-14-2011 09:15 AM
Quota For Directory? carlosinfl Linux - Server 1 12-12-2008 11:25 AM
quota implementation in home directory? sunram Solaris / OpenSolaris 1 10-16-2008 05:05 AM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
how to set quota at /home davidhk Linux - General 2 06-04-2005 10:10 PM


All times are GMT -5. The time now is 05:24 PM.

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