[Pkg-shadow-devel] faster faillog reset

Peter Vrabec pvrabec at redhat.com
Thu Mar 6 16:34:45 UTC 2008


On Wednesday 05 March 2008 01:22:33 am Nicolas François wrote:
> Hi,
>
> On Tue, Mar 04, 2008 at 02:21:17PM +0100, pvrabec at redhat.com wrote:
> > could you apply this patch please. It will make
> > faillog -m 32767 -r
> > faster on 64-bit systems.
>
> committed.
>
> This changes the behavior of faillog -r, but I cannot see any use case
> where it really matters.
When you want to reset the counter of login failures, you don't need go from 
0..2^64-1. You can reset the failures only for existing users.

>
> for example
> 	faillog -r
> 	useradd -l testuser
>
> could result in the testuser having a non null failures counter.
> But the user is warned by the faillog manpage of the behavior of
> useradd -l.
>
> Best Regards,





More information about the Pkg-shadow-devel mailing list