From owner-freebsd-isp Wed Aug 26 13:32:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10621 for freebsd-isp-outgoing; Wed, 26 Aug 1998 13:32:18 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA10451 for ; Wed, 26 Aug 1998 13:32:03 -0700 (PDT) (envelope-from fullermd@futuresouth.com) Received: (from fullermd@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id PAA17556; Wed, 26 Aug 1998 15:30:35 -0500 (CDT) Message-ID: <19980826153035.20235@futuresouth.com> Date: Wed, 26 Aug 1998 15:30:35 -0500 From: "Matthew D. Fuller" To: Karl Pielorz Cc: isp@FreeBSD.ORG Subject: Re: Quotas for lots of users... References: <35E4193D.33AC657A@tdx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <35E4193D.33AC657A@tdx.co.uk>; from Karl Pielorz on Wed, Aug 26, 1998 at 03:18:37PM +0100 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Aug 26, 1998 at 03:18:37PM +0100, Karl Pielorz woke me up to tell me: > Is there any 'quick' way of setting Quota's for a group of users? - I can't > easily see a way of using the 'group' / proto-user setup for cloning the stuff > I'm setting up at the moment... > > Is there someway of piping a file that looks like the 'edquota' output back into > the command, e.g. Why not use a UID range? If the -p option is specified, edquota will duplicate the quotas of the prototypical user specified for each user specified. This is the normal mechanism used to initialize quotas for groups of users. If the user given to assign quotas to is a numerical uid range (e.g. 1000-2000), then edquota will duplicate the quotas of the prototypical user for each uid in the range specified. This allows for easy setup of default quotas for a group of users. The uids in question do not have to be currently as- signed in /etc/passwd. So equota dummy, set it up, and then # edquota -p dummy 1000-10000 (or whatever UID range you want) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message