From owner-freebsd-questions Tue Jun 19 0:18:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailin7.bigpond.com (juicer38.bigpond.com [139.134.6.95]) by hub.freebsd.org (Postfix) with ESMTP id 7AF1A37B401 for ; Tue, 19 Jun 2001 00:18:03 -0700 (PDT) (envelope-from whisky@macroshell.net) Received: from whisky ([144.135.24.75]) by mailin7.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GF61VE00.6EQ for ; Tue, 19 Jun 2001 17:23:38 +1000 Received: from CPE-203-45-153-231.qld.bigpond.net.au ([203.45.153.231]) by bwmam03.mailsvc.email.bigpond.com(MailRouter V2.9d 8323/2422748); 19 Jun 2001 17:18:42 Message-ID: <002301c0f88f$e1fadda0$0100000a@whisky> From: "whisky" To: Subject: Quotas Problem Date: Tue, 19 Jun 2001 17:17:21 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01C0F8E3.B349D980" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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_0020_01C0F8E3.B349D980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am sorry to bother you from your daunting dask of coding one of the = best OS's out there but I have a issue with quotas which I thought you = might be able to shed some light on. I setup group quotas via=20 # edquota -g groupinquestion and instead of setting the quota for every user in the group... ie 20mb = each user... it set 20mb for the whole group... I run a webhosting co = and to setup a quota for every user would take time as we have to handle = approx. 50 logins per day this gets annoying. So if there is a way to = set for every user in a easy -g method that would be great... Or even a = script to set the quota per user.. I have setup a personalised adduser = script for the box which works great. But can't work out how I would do = per user...=20 ie # edquota -u username and then the script edit the blocks/inodes (I suck at coding) Thanks in advanced, Ramon Gonzalez whisky@MacroShell.net MacroShell Sysadmin -whisky ------=_NextPart_000_0020_01C0F8E3.B349D980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am sorry to bother you from your = daunting dask of=20 coding one of the best OS's out there but I have a issue with quotas = which I=20 thought you might be able to shed some light on.
 
I setup group quotas via
 
# edquota -g=20 groupinquestion
 
and instead of setting the quota for = every user in=20 the group... ie 20mb each user... it set 20mb for the whole group... I = run a=20 webhosting co and to setup a quota for every user would take time as we = have to=20 handle approx. 50 logins per day this gets annoying. So if there is a = way to set=20 for every user in a easy -g method that would be great... Or even a = script to=20 set the quota per user.. I have setup a personalised adduser script for = the box=20 which works great. But can't work out how I would do per user... =
 
ie
 
# edquota -u = username
 
and then the script edit the = blocks/inodes (I suck=20 at coding)
 
Thanks in advanced,
 
Ramon Gonzalez
whisky@MacroShell.net
MacroShell Sysadmin
-whisky
------=_NextPart_000_0020_01C0F8E3.B349D980-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message