From owner-freebsd-questions Tue Apr 20 4:20:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pasha.anand.org (pasha.anand.org [199.103.176.41]) by hub.freebsd.org (Postfix) with SMTP id 5E350152F2 for ; Tue, 20 Apr 1999 04:18:32 -0700 (PDT) (envelope-from arb@anand.org) Received: (qmail 7736 invoked by uid 1001); 20 Apr 1999 11:15:56 -0000 Date: Tue, 20 Apr 1999 14:15:56 +0300 From: Anand Buddhdev To: chan Cc: freebsd-questions@freebsd.org Subject: Re: setting disk quota automatically by scripts? Message-ID: <19990420141556.C7626@africaonline.co.ke> References: <371C5C83.1B2ED71A@phreaker.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <371C5C83.1B2ED71A@phreaker.net>; from chan on Tue, Apr 20, 1999 at 06:52:51PM +0800 Organisation: Africa Online Ltd, P O Box 63017, Nairobi, Kenya X-Phone: +254-2-243775 X-WWW-Homepage: http://www.anand.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 20, 1999 at 06:52:51PM +0800, chan wrote: > Hi > > I am using FreeBSD 3.1. I'm setting up a test server for my friends to > learn perl, unix, php etc. Users can create their own accounts through a > web interface, however i can't find a method to set a quota limit for > each new user ? You can use the edquota command to duplicate the quota for an existing user into the quota of a new user. You can put the edquota command into the /usr/sbin/adduser perl script for adding users, or you can create your own adduser script which calls the real adduser and then sets the quota. -- System Administrator See complete headers for address, homepage and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message