Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 691694

Summary: audit printing an extra colon in audit_log_user_message
Product: Red Hat Enterprise Linux 6 Reporter: Miroslav Vadkerti <mvadkert>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-30 14:14:04 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:

Description Miroslav Vadkerti 2011-03-29 09:39:55 UTC
Description of problem:
After discussion with openssh developer libaudit seems to be printing an extra colon (i.e. suid=0 : ) in audit records printed by openssh with function audit_log_acct_message (according to the devel):

time->Mon Mar 28 05:32:23 2011
type=CRYPTO_KEY_USER msg=audit(1301304743.056:77380): user pid=14237 uid=0
auid=0 ses=2712 subj=unconfined_u:system_r:sshd_t:s0-s0:c0.c1023
msg='op=destroy kind=server fp=72:74:bf:4e:ad:55:82:9c:ec:62:79:ae:4b:07:94:d3
direction=? spid=14237 suid=0 : exe="/usr/sbin/sshd" hostname=?
addr=10.34.35.69 terminal=pts/5 res=success'

Version-Release number of selected component (if applicable):
audit-2.0.6-1.el6

How reproducible:
100%

Steps to Reproduce:
1. try to login via ssh
2. check audit records CRYPTO_KEY_USER or CRYPTO_SESSION
  
Actual results:
Colon after suid=0 

Expected results:
No colon

Additional info:

Comment 1 Miroslav Vadkerti 2011-03-29 09:40:50 UTC
Sorry the correct function name should be audit_log_user_message

Comment 2 Steve Grubb 2011-03-30 13:24:11 UTC
This function prints a colon to separate a possible text message from credentials it gathers.

Comment 3 Miroslav Vadkerti 2011-03-30 13:29:44 UTC
So is the CRYPTO_KEY_USER record in the description ok and the colon makes "no harm" there? Then we can close this as not a bug I assume. I just wanted to be sure ...

Comment 4 Miroslav Vadkerti 2011-03-30 14:14:04 UTC
Closing as not a bug according to previous comments.