From owner-freebsd-isp Tue Aug 31 13:28:39 1999 Delivered-To: freebsd-isp@freebsd.org Received: from kerouac.deepwell.com (deepwell.com [209.63.174.12]) by hub.freebsd.org (Postfix) with SMTP id 052B015433 for ; Tue, 31 Aug 1999 13:28:37 -0700 (PDT) (envelope-from freebsd@deepwell.com) Received: (qmail 14542 invoked from network); 31 Aug 1999 21:12:59 -0000 Received: from proxy.dcomm.net (HELO terry) (209.63.175.10) by deepwell.com with SMTP; 31 Aug 1999 21:12:59 -0000 Message-Id: <4.2.0.58.19990831131659.03b126d0@mail1.dcomm.net> X-Sender: freebsd@mail.deepwell.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Tue, 31 Aug 1999 13:19:49 -0700 To: "James F. Ruffer III" , freebsd-isp@freebsd.org From: Deepwell Internet Subject: Re: adduser In-Reply-To: <012001bedb91$5e3dc580$ecc276d1@empireone.net> References: <01BEF3D4.62BFB5E0.support@junglenote.com> <37CC0320.705EFF4B@tatnet.com> <00ce01bedb6c$40640440$ecc276d1@empireone.net> <37CC0952.FDB7916E@ispro.net.tr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Using the quota program you can set quotas for a range of uids. I use this on a webserver we run. If the account is of a certain type I give them a uid in the 1000-3000 range. If it's another type of service then they get a 3000-6000 uid. You can establish that everyone between 1000 and 3000 gets a 10m quota and everyone 3000 - 6000 gets a 50m quota. The users don't have to be created at the time of establishing uid quotas At 04:14 PM 7/31/99 -0400, you wrote: >basically i was using >edquota -p Quota username >this wil set it to a standard 20 mb soft 30 mb hard >im looking to set everyone at a 50 soft 60 hard >auto while adduser is running >i was being lazy by seeing if some one had a script already but i gues iill >have to code one >thankyou guys+dolls >----- Original Message ----- >From: Evren Yurtesen >To: James F. Ruffer III ; >Sent: Tuesday, August 31, 1999 12:56 PM >Subject: Re: adduser > > > > why do not you put a line to adduser script something like > > edquota -p 100 $UID > > well I am not sure what is the variable for UID in adduser script > > though, > > this would copy the quota settings of the account with uid 100 to the > > new account > > created...I believe this works even when you do not have an account with > > the > > $UID because I did something like edquota -p 100 1000-10000 > > and now all the users have the same quotas automatically when I add them > > > > is this what you want to do? > > > > Evren > > > > "James F. Ruffer III" wrote: > > > > > hmm does anyone have a great adduser program that wil set repquota > > > while adding the user > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-isp" in the body of the message > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message