Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 1997 11:34:57 +0200 (MEST)
From:      Erik Manders <erik@il.fontys.nl>
To:        iaint@CU-SeeMe.educ.utas.edu.au
Cc:        erik@il.fontys.nl, hanspb@persbraten.vgs.no, questions@FreeBSD.ORG
Subject:   Re: Has anyone ever written a quota utility?
Message-ID:  <199709100935.LAA19565@charm.il.fontys.nl>
In-Reply-To: <Pine.BSF.3.96.970910083214.3736A-100000@CU-SeeMe.educ.utas.edu.au> from Iain Templeton at "Sep 10, 97 08:35:55 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Iain Templeton is said to have made the following statement:
> > On Tue, 9 Sep 1997, Erik Manders wrote:
> > 
> > >   setquota -u <user> -f <filesystem> <bquota> <blimit> <iquota> <ilimit>
> > > 
> > > to set quotas and limits and
> > > 
> > >   setquota -g -u <user> -f <filesystem> <btime> <itime>
> > > 
> > > to set grace times. It would make account creation/maintainance a lot
> > > easier.
> > 
> I know that you can use edquota -p <protouser> <user> which will set
> <user>'s quota to that of <protouser>, which is generally what I use for
> creation.

  I know about `edquota -p'. I've been using it to administer quota's for
a couple of years. Its main drawback is that it replaces quota/grace data
for ALL filesystems with another set. I would like a utility with which I
can modify one filesystem at a time, from the command line (or with some
exec(2) call).

> 
> > And a setclass or chclass utility would be nice too!
> > 
> > $ chclass user newclass
> > 
> pw usermod <user> -L class
> 
> [I actually found this command by mistake after leaving the 'd' off 'pwd']
 
Looks interesting... Not for this but it definitely looks interesting...


  Erik Manders                                        erik@il.fontys.nl
--
:BOFH: // /n./  Acronym, Bastard Operator From Hell.  A system administrator
   with absolutely no tolerance for {lusers}. "You say you need more filespace?
   <massive-global-delete> Seems to me you have plenty left..."
                                                      The Jargon File



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