Date: Wed, 26 Aug 1998 15:30:35 -0500 From: "Matthew D. Fuller" <fullermd@futuresouth.com> To: Karl Pielorz <kpielorz@tdx.co.uk> Cc: isp@FreeBSD.ORG Subject: Re: Quotas for lots of users... Message-ID: <19980826153035.20235@futuresouth.com> In-Reply-To: <35E4193D.33AC657A@tdx.co.uk>; from Karl Pielorz on Wed, Aug 26, 1998 at 03:18:37PM %2B0100 References: <35E4193D.33AC657A@tdx.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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? <quote "man equota"> 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. </quote> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980826153035.20235>