SF.net SVN: logwatch:[263] trunk/scripts/services/sudo

[email protected] Mon, 13 Oct 2014 16:19:36 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 263
          http://sourceforge.net/p/logwatch/code/263
Author:   opoplawski
Date:     2014-10-13 16:19:35 +0000 (Mon, 13 Oct 2014)
Log Message:
-----------
[sudo] Config options are lowercased

Modified Paths:
--------------
    trunk/scripts/services/sudo

Modified: trunk/scripts/services/sudo
===================================================================
--- trunk/scripts/services/sudo	2014-10-10 18:56:09 UTC (rev 262)
+++ trunk/scripts/services/sudo	2014-10-13 16:19:35 UTC (rev 263)
@@ -84,7 +84,7 @@
      $ConFailed{$1}++;
    } elsif ( ($user, $error, $tty, $dir, $euser, $cmd, $args) = $ThisLine =~ m/^\s*(\S+) : (.*; )?TTY=(\S+) ; PWD=(.*?) ; USER=(\S+) ; COMMAND=(\S+)( ?.*)/) {
       next if (defined($IgnoreCmds{$user}{$euser}) && $cmd =~ join("|",@{$IgnoreCmds{$user}{$euser}}));
-      next if (defined($IgnoreCmds{'ANY'}{$euser}) && $cmd =~ join("|",@{$IgnoreCmds{'ANY'}{$euser}}));
+      next if (defined($IgnoreCmds{'any'}{$euser}) && $cmd =~ join("|",@{$IgnoreCmds{'any'}{$euser}}));
       push @{$byUser{$user}{$euser}}, [$error . $cmd,$args, $dir, $tty];
       $byUserSum{$user}{$euser}{$cmd} += 1;
    } elsif ( ($user,$euser) = $ThisLine =~ /^\s*(\S+) : no passwd entry for (\S+)\!$/) {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho