From owner-freebsd-questions Thu Jun 27 14:20:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id AD5A537B409 for ; Thu, 27 Jun 2002 14:20:08 -0700 (PDT) Received: from Administrator ([80.0.77.2]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020627212008.IBCM2755.mta05-svc.ntlworld.com@Administrator> for ; Thu, 27 Jun 2002 22:20:08 +0100 Message-ID: <012d01c21e20$e438a720$6400a8c0@Administrator> From: "Lee" To: Subject: Quota in FreeBSD 4.6, Apache 1.3 & Proftpd Date: Thu, 27 Jun 2002 22:23:33 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_012A_01C21E29.45E31E80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_012A_01C21E29.45E31E80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am not sure if I am posting this to the correct place, but I am pretty = certain that it is an OS related question rather than the applications. This is purely a theorical situation but it would be something I would = like to try in the future. Say I have the above configuration running on a server as in the = subject. What I wish to achive is to only allow users to use an amount = of disk space (quota) that they have paid for. Now here is the problem, I have read the quota documents form that = handbook and man pages, the require you to have a different system = account for each quota you wish to enable. =20 Apache runs as the same user (ok I know you can use SUEXEC) regardless = of the web site being accessed. Proftpd has quota support enabled, but it seems a little unfinished and = very little documents are available. Also it appears to be based = primarily on number of uploads/downloads rather than used disk space. To top all this off I would prefer users to be virtual, i.e. no shell = accounts at all, possibly with SQL database records instead. I already = have this sort of setup working for my e-mail using VPopMail & Qmail. = Idealy I am looking to have my whole setup based on databases to allow = for a web-based managment system. What I have though about doing is writing a shell or perl script that = checks the used web space at regular intervals and logs it for another = program to analysis, possibly for billing purposes. Can anyone suggest an alternative solution and possibly different = programs to the problem. Regards Lee ------=_NextPart_000_012A_01C21E29.45E31E80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I am not sure if I am posting this to = the correct=20 place, but I am pretty certain that it is an OS related question rather = than the=20 applications.
 
This is purely a theorical situation = but it would=20 be something I would like to try in the future.
 
Say I have the above configuration = running on a=20 server as in the subject.  What I wish to achive is to only allow = users to=20 use an amount of disk space (quota) that they have paid = for.
 
Now here is the problem,  I have = read the=20 quota documents form that handbook and man pages, the require you to = have a=20 different system account for each quota you wish to enable.  =
 
Apache runs as the same user (ok I know = you can use=20 SUEXEC) regardless of the web site being accessed.
 
Proftpd has quota support enabled, but = it seems a=20 little unfinished and very little documents are available.  Also it = appears=20 to be based primarily on number of uploads/downloads rather than used = disk=20 space.
 
To top all this off I would prefer = users to be=20 virtual, i.e. no shell accounts at all, possibly with SQL database = records=20 instead.  I already have this sort of setup working for my e-mail = using=20 VPopMail & Qmail.  Idealy I am looking to have my whole setup = based on=20 databases to allow for a web-based managment system.
 
What I have though about doing is = writing a shell=20 or perl script that checks the used web space at regular intervals and = logs it=20 for another program to analysis, possibly for billing = purposes.
 
Can anyone suggest an = alternative solution and=20 possibly different programs to the problem.
 
Regards
 
Lee
 
 
------=_NextPart_000_012A_01C21E29.45E31E80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message