Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 170562

Summary: add audit message to pam_tally
Product: Red Hat Enterprise Linux 4 Reporter: Steve Grubb <sgrubb>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: poelstra, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0093 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-07 18:49:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 170495    
Bug Blocks: 168429    
Attachments:
Description Flags
patch adding extra audit messages to pam_tally none

Description Steve Grubb 2005-10-12 21:55:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
We need pam_tally to emit an audit record when it locks an account.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. do bad logins
2. look in audit records after account is locked

Actual Results:  No records other than mod to passwd file. This doesn't tell what account was affected.

Additional info:

I will provide a patch to provide this capability. This should be a very short patch 5-6 lines of code. open audit socket, send message, close socket.

Comment 2 Steve Grubb 2005-10-28 21:37:03 UTC
Created attachment 120524 [details]
patch adding extra audit messages to pam_tally

This is the current patch that I'm testing against rawhide. It will require
audit-libs >= 1.0.9 since the audit daemon doesn't understand the message type.

Comment 7 Red Hat Bugzilla 2006-03-07 18:49:46 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0093.html