Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 1997 08:35:55 +1000 (EST)
From:      Iain Templeton <iaint@CU-SeeMe.educ.utas.edu.au>
To:        Erik Manders <erik@il.fontys.nl>, Hans Petter Bieker <hanspb@persbraten.vgs.no>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Has anyone ever written a quota utility?
Message-ID:  <Pine.BSF.3.96.970910083214.3736A-100000@CU-SeeMe.educ.utas.edu.au>
In-Reply-To: <Pine.LNX.3.95.970909152255.2139D-100000@zerium.idgonline.no>

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

> 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']

Iain.

--------------------------------------------------------------------------------
Iain Templeton: (iaint@utas.edu.au)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970910083214.3736A-100000>