From owner-freebsd-isp Tue Aug 31 21:33: 4 1999 Delivered-To: freebsd-isp@freebsd.org Received: from finland.ispro.net.tr (finland.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (Postfix) with ESMTP id A0D691547A for ; Tue, 31 Aug 1999 21:32:55 -0700 (PDT) (envelope-from yurtesen@ispro.net.tr) Received: from ispro.net.tr (dyn-4-199.tku.netti.fi [195.16.219.200]) by finland.ispro.net.tr (8.9.3/8.9.3) with ESMTP id HAA33257; Wed, 1 Sep 1999 07:32:48 +0300 (EEST) (envelope-from yurtesen@ispro.net.tr) Message-ID: <37CCAC11.7D11B2A2@ispro.net.tr> Date: Wed, 01 Sep 1999 07:31:13 +0300 From: Evren Yurtesen X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: "James F. Ruffer III" Cc: freebsd-isp@FreeBSD.ORG Subject: Re: adduser References: <01BEF3D4.62BFB5E0.support@junglenote.com> <37CC0320.705EFF4B@tatnet.com> <00ce01bedb6c$40640440$ecc276d1@empireone.net> <37CC0952.FDB7916E@ispro.net.tr> <012001bedb91$5e3dc580$ecc276d1@empireone.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org well you can copy 1 users quota settings with the -p option and you can say to the edquota that copy this settings to the UIDs between 1000-5000 this is working I have tried :) when you use adduser script it is giving the next available UID so you wont have trouble if that UID is one of the UIDs between 1000-5000 "James F. Ruffer III" 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