LinuxQuestions.org
Review your favorite Linux distribution.
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 02-25-2009, 09:01 AM   #1
cb777
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
downland limit size for specific users


Pls, how can I set file download size for specific users within specific times in Edubuntu 7.x?
 
Old 02-26-2009, 09:51 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Do you know how to use iptables?
If so, then use the following rules

-A INPUT -s $ip -m quota --quota $size -m time --timestart $hh:$mi --timestop $hh:$mi --days $day1,$day2,$day,$... -j ACCEPT
-A INPUT -j DROP

Last edited by Agrouf; 02-26-2009 at 09:54 AM.
 
  


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
POSTFIX:limit message size for certain users Niceman2005 Linux - Software 1 09-16-2008 01:26 AM
Limit allowed applications for specific users? kmokrzcyki Linux - Security 2 03-08-2007 07:44 AM
Limit Incoming Mail to Specific Users barriger Linux - General 1 04-17-2005 10:22 PM
How to limit the size of a specific file ericthyred Linux - Software 1 04-15-2004 11:13 AM
Limit mailbox size on the server for all users? portalguy Linux - Software 0 09-22-2003 10:41 AM


All times are GMT -5. The time now is 03:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration