Bug 555750 - Not all methods to deny login via sshd are reported.
Summary: Not all methods to deny login via sshd are reported.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: logwatch
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Karel Klíč
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-15 12:17 UTC by Frank Crawford
Modified: 2013-03-03 23:00 UTC (History)
4 users (show)

Fixed In Version: logwatch-7.3.6-50.fc12
Clone Of:
Environment:
Last Closed: 2010-02-24 06:03:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for adding test for DenyUsers, DenyGroups, etc. (1.13 KB, patch)
2010-01-15 12:17 UTC, Frank Crawford
no flags Details | Diff

Description Frank Crawford 2010-01-15 12:17:33 UTC
Created attachment 384603 [details]
Patch for adding test for DenyUsers, DenyGroups, etc.

Description of problem:
Logwatch sshd module does not report on users who are denied access because they are listed in DenyUsers or DenyGroups or not in AllowGroups, and related tests.

Version-Release number of selected component (if applicable):
logwatch-7.3.6-48.fc12.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create an entry of AllowGroups in /etc/ssh/sshd_config
2. Attempt to log in as a user not in one of those groups.
3. Run logwatch.
  
Actual results:
Error is listed as an Unmatched Entry.

Expected results:
Should be included in report.

Additional info:
A patch is attached to implement this functionality.  Note that this puts all errors in the one group, you may want to split it up.

Comment 1 Fedora Update System 2010-02-05 08:46:15 UTC
logwatch-7.3.6-50.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/logwatch-7.3.6-50.fc12

Comment 2 Fedora Update System 2010-02-06 00:03:57 UTC
logwatch-7.3.6-50.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update logwatch'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1530

Comment 3 Fedora Update System 2010-02-24 06:03:15 UTC
logwatch-7.3.6-50.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.