[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with updating quotas



On Mon, 8 Sep 2003 15:20:55 +0159
jmc <jmc@prioris.mini.pw.edu.pl> wrote:

> On Mon, Sep 08, 2003 at 01:41:12PM +0200, Philippe THIERRY wrote:
> > 
> > I've got a server where i use quotad. The quotas are
> > configurated by users, on the /home filesystem.
> > 
> > It works well, but when i have to create a new user
> > quota, or change one of them (using quotaoff -a,
> > edquota <user>, quotaon -a), i must reboot the system
> > to make the changes working. Else there is no difference.
> > 
> 
> The FAQ procedures seem to be for setting up quotas for the *first* time.
> There's nothing in there (or in edquota(8)) which says you have to use
> quotaoff(8) and quotaon(8) before and after editing quotas.
> 
> edquota(8) does say:
> 
> 	On leaving the editor, edquota reads the temporary file and modifies
> 	the binary quota files to reflect the changes made.
> 
> I imagine if you use edquota(8) *without* turning quotas off (and then
> on again), it will reread the file without needing a reboot.
> 
> Of course, I could be wrong :)
> 
> jmc.
> -- 
> The stout horse aye gets the hard work.
> 

Just to say you were right :^)

Thanks a lot.
-- 
Phil.