LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-10-2008, 01:30 AM   #1
packets
Member
 
Registered: Oct 2005
Posts: 339

Rep: Reputation: 32
Quota file not working on Proftpd


I'm new in setting up modules in proftp. Here's what I did:

Compile the source file ./configure --with-module=mod_quotatab:mod_quotatab_file and them make && make install

Then, I found the ftpquota in the contrib directory so I assume that it is the ftpquota binary they are referring. I do:

./ftpquota --create-table --type=limit
./ftpquota --create-table --type=tally

Then, create a user for testing

./ftpquota --add-record --type=limit --name=nelsonts --quota-type=user --bytes-download=100 --bytes-upload=100

Then, I show record ./ftpquota --show-record --type=limit

Name: nelsonts
Quota Type: User
Per Session: False
Limit Type: Hard
Uploaded bytes: 100.00
Downloaded bytes: 100.00
Transferred bytes: unlimited
Uploaded files: unlimited
Downloaded files: unlimited
Transferred files: unlimited

Then, I edit the file /usr/local/etc/proftpd.conf and put the ff:

QuotaLimitTable file:/usr/local/src/proftpd-1.3.2rc1/contrib/ftpquota.limittab
QuotaTallyTable file:/usr/local/src/proftpd-1.3.2rc1/contrib/ftpquota.tallytab

Then, restart proftp.

When I try to upload a file 6MB, it still pass thru. Quota is not working. I believe the record that I put only allowed 100 bytes upload and download

Is there a wrong or forgot procedure that I did not do?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Fedora 7 LXer Syndicated Linux News 0 08-14-2007 12:30 PM
LXer: Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch LXer Syndicated Linux News 0 04-29-2007 03:31 PM
proftpd traffic acounting, quota management ovidnet Linux - Server 0 03-08-2007 02:06 PM
help on quota in proftpd seekl Linux - Newbie 1 06-16-2005 12:25 AM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:15 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