Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 12:48:44 +0100
From:      Steve Abraham <steve@enets.co.uk>
To:        questions <questions@FreeBSD.ORG>
Subject:   Re: Quota
Message-ID:  <396B099C.FA264BC4@enets.co.uk>
References:  <396AF874.5CDB05B1@enets.co.uk> <20000711073253.D25603@shell.wetworks.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396B099C.FA264BC4>