LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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: 17
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
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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: 17
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
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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 10 12-09-2017 09:52 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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration