public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* auditing account lockouts
@ 2011-10-10 13:54 Steve M. Zak
  2011-10-10 14:13 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Steve M. Zak @ 2011-10-10 13:54 UTC (permalink / raw)
  To: Linux-audit@redhat.com


[-- Attachment #1.1: Type: text/plain, Size: 646 bytes --]

Hi,

Through experimentation and per Red Hat tech support when the deny=x switch is set in /etc/pam.d/login as below

auth       required     pam_tally2.so deny=5 onerr=fail

the lockout happens at 5 failed attempts, but the audit trail does not record it until the next try.

Does the audit system provide a way to show that the lockout has occurred when the deny number is reached?  Ideally this would be some system log that uses a variation of "Account locked"



Thanks!

____________________________________________
Steve M. Zak,


-- 
This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com

[-- Attachment #1.2: Type: text/html, Size: 2822 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: auditing account lockouts
  2011-10-10 13:54 auditing account lockouts Steve M. Zak
@ 2011-10-10 14:13 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2011-10-10 14:13 UTC (permalink / raw)
  To: linux-audit

On Monday, October 10, 2011 09:54:00 AM Steve M. Zak wrote:
> Hi,
> 
> Through experimentation and per Red Hat tech support when the deny=x switch
> is set in /etc/pam.d/login as below
> 
> auth       required     pam_tally2.so deny=5 onerr=fail
> 
> the lockout happens at 5 failed attempts, but the audit trail does not
> record it until the next try.

The man page says that the account lockout occurs when the tally _exceeds_ the deny 
parameter. To lockout on 5 failed attempts, use deny=4.

-Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-10 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-10 13:54 auditing account lockouts Steve M. Zak
2011-10-10 14:13 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox