[Pkg-shadow-devel] faillog reset

Nicolas François nicolas.francois at centraliens.net
Fri Mar 19 14:47:24 UTC 2010


Hello,

On Wed, Nov 25, 2009 at 05:40:11PM +0100, pvrabec at redhat.com wrote:
> On Tuesday 24 November 2009 06:25:12 pm Nicolas François wrote:
> > Hi,
> > 
> > On Tue, Nov 24, 2009 at 04:36:26PM +0100, pvrabec at redhat.com wrote:
> > > I just want to ask if there is a reason why reset() in faillog iterates
> > > thru "all" UIDs. Can we skip UIDs that a free? I mean there is no user
> > > with such a ID.
> > 
> > There is a need to reset the faillog entries for removed users.
> > 
> > But I agree we could differentiate "faillog -r" and "faillog -r -a"
> > 
> > For reset, it's probably easier / faster not to care and reset everything.
> > 
> > For setmax, or set_lock there can be some drawbacks as filling the file
> > (instead of having a sparse file), so it might be better to have the 2
> > behaviors (it can also be useful to lock or setmax for future users).
> > 
> > 
> > Peter, do you think this should be changed?
> yeah, I think it would be fine to have two behaviors.

This is now implemented in the repository.

> > In that case, -r, -l, -m should be changed. lastlog should probably be
> > changed too (it is usually very similar to faillog).

No changes were needed in lastlog.

Best Regards,
-- 
Nekral



More information about the Pkg-shadow-devel mailing list