From owner-freebsd-questions Tue Jul 11 4:49:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.omn.net (atlantis.omn.net [212.158.68.2]) by hub.freebsd.org (Postfix) with ESMTP id 9651A37C1AA for ; Tue, 11 Jul 2000 04:49:44 -0700 (PDT) (envelope-from steve@enets.co.uk) Received: from enets.co.uk (sabre3.sja.co.uk [212.158.68.7]) by mail.omn.net (8.10.1/8.10.1/Omnitech-2.0.0) with ESMTP id e6BCq4F08214 for ; Tue, 11 Jul 2000 12:52:04 GMT Message-ID: <396B099C.FA264BC4@enets.co.uk> Date: Tue, 11 Jul 2000 12:48:44 +0100 From: Steve Abraham Reply-To: steve@enets.co.uk Organization: eNets Ltd X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: questions Subject: Re: Quota References: <396AF874.5CDB05B1@enets.co.uk> <20000711073253.D25603@shell.wetworks.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alan Clegg wrote: > > An SMTP stream claimed that Steve Abraham muttered: > > Is there anyway I can get the adduser script to automatically add a > > basic disk quota, i.e. 10Mb, to all users added to the system? > > The best plan on this would be to add a "defaultquota" user which has > a standard quota the way you want it, then add > > edquota -p defaultquota $NEWUSER > > to your procedure for adding new users. If you wish to modify adduser > or just add that command to the list of things you do when a user is added > is up to you. > I think this method suits my requirements best, and I would like to modify the adduser script to do the job automatically. (there are a number of different admins on this system and people keep forgetting to set quotas.) Can anyone recommend the best place to modify the adduser script? It's a good deal more complex than the Linux one I am used to, and I don't want to mess anything up. Regards, S. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- FREE LOCAL RATE DIALUP INTERNET ACCESS Now available nationwide Ask for details, or visit http://www.freedialups.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Steve Abraham eNets Ltd UK steve (at) enets.co.uk http://www.eNets.ltd.uk T: +44 (0)1463 861311 F: +44 (0)8702 840220 M: +44 (0)7770 332765 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message