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

Re: More pam_limits trouble



On Thu, Sep 16, 1999 at 04:49:59PM +0200, Marek Habersack wrote:
> * Ben Collins said:
> 
> > > It accepts only, e.g.:
> > > 
> > > grendel     -      cpu      [digit] 
> > > 
> > > Which is of no use, because setting the limit to 0 doesn't mean disabling
> > > it... Any advice? :)
> > 
> > Hmmm...looking at the source, it wont accept a line with less than 4 arguments,
> > yet you are correct that the documentation say otherwise. Let me work on this.
> > I'll have it fixed in the next upload.
> I have attached a quick (and untested - I didn't have time to compile :((()
> fix. From looking at it, it should do.
> 
> marek

This will work except that it should return PAM_IGNORE so that no limits get set.
If there was a group limit set further up for this user, then it wouldn't be
overridden.

Thanks for the patch,
  Ben


Reply to: