LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-03-2005, 10:20 AM   #1
fieldyweb
Member
 
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119

Rep: Reputation: 15
How to limit the amout of disk space for Samba user


What a roller coaster Samba is, its fun, i'm in a purple patch with it after having a nightmare, and have a need which is bourne of necessity...

I'm running smba on FC4 in a school ICT lab, and the little blighters have started copying up CD's full of MP3's and other blatently useless crud onto thier home folder...

I cannot for the life of me in webin, Users and Groups or SWAt see a way to limit each user to a predefined mount of space (letrs say 100Mb)

i've read some stuff about hard and soft quotas, and the idea that the student has 100Mb of space, and then if they exceeed that get a time limit to reduce/remove the files sounds good..

please help... i've been up at 5am and going to bed at 12am because of this ICT lab, and i'm losing it... in a fun way!!
 
Old 10-03-2005, 10:30 AM   #2
fieldyweb
Member
 
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119

Original Poster
Rep: Reputation: 15
Got as far as this...

The quota command displays the limits set for named users or groups. The filesystems on which quotas apply are set in the filesystem table (/etc/fstab). The commands quota on and quotaoff turn quotas on or off, as one would expect. The setquota command specifies the actual limits for named users and groups, but its options must be specified in a precise order. Setting any limit to zero removes that limit. Finally, the edquota command allows you to edit quotas interactively with your favourite text editor. Be aware, however, that edquota is known to be broken in some older versions of the most popular commercial Linux distribution.

where/how do i set this in fstab?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
New user DISK SPACE limit linuxfans Linux - General 6 11-04-2011 10:39 AM
limit user HD space pezplaya Linux - General 3 04-26-2004 06:36 PM
Where can I find a simple tutorial on quota (limit capacity of disk space of a user)? George2 Linux - Software 5 11-04-2003 09:56 AM
Limit Disk Quota per user ? mikeshn Linux - General 1 06-19-2003 07:33 PM
What command would you use to see how much disk space each user is using up? thatgentleman Linux - General 1 03-23-2002 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 AM.

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