Jan Braun
2006-Mar-30 17:48 UTC
[Logcheck-devel] Bug#360120: logcheck-database: logcheck-sudo should treat sudoedit no worse than "sudo vi"
Package: logcheck-database
Version: 1.2.43a
Severity: normal
Tags: patch
Hi,
logcheck does not report invocations of "sudo $EDITOR /some/file",
while it
does report "sudoedit /some/file". That's obviously inconsistent.
The patch below fixes it (by ignoring sudoedit, too).
regards,
Jan
--- logcheck-sudo 2006-03-30 16:53:48.000000000 +0200
+++ /etc/logcheck/violations.ignore.d/logcheck-sudo 2006-03-30
16:55:35.000000000 +0200
@@ -1,2 +1,2 @@
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sudo:[[:space:]]+[_[:alnum:]-]+ :
TTY=(unknown|(pts/|tty|vc/)[0-9]+) ; PWD=.+ ; USER=[^[:space:]]+ ;
COMMAND=/(usr|etc|bin|sbin)/.*$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sudo:[[:space:]]+[_[:alnum:]-]+ :
TTY=(unknown|(pts/|tty|vc/)[0-9]+) ; PWD=.+ ; USER=[^[:space:]]+ ;
COMMAND=(/(usr|etc|bin|sbin)/|sudoedit ).*$
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages logcheck-database depends on:
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
logcheck-database recommends no packages.
-- debconf information:
logcheck-database/conffile-cleanup: false
* logcheck-database/rules-directories-note:
logcheck-database/standard-rename-note:
Jamie L. Penman-Smithson
2006-May-03 23:14 UTC
Bug#360120: [Logcheck-devel] Bug#360120: logcheck-database: logcheck-sudo should treat sudoedit no worse than "sudo vi"
package logcheck-database tags 360120 pending thanks On 30 Mar 2006, at 18:48, Jan Braun wrote:> logcheck does not report invocations of "sudo $EDITOR /some/file", > while it > does report "sudoedit /some/file". That's obviously inconsistent. > The patch below fixes it (by ignoring sudoedit, too).<snip> Thanks for the patch. This will be included in the next release. Thanks for your bug report, -- -Jamie L. Penman-Smithson <jamie at silverdream.org> PGP: C0A7 955E EED6 A309 23D7 863B C76A 26A3 F0DC FCA8 never send mail to: oubliette.z at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20060504/9dc659df/attachment.pgp
Debian Bug Tracking System
2006-May-03 23:18 UTC
Processed: Re: [Logcheck-devel] Bug#360120: logcheck-database: logcheck-sudo should treat sudoedit no worse than "sudo vi"
Processing commands for control at bugs.debian.org:> package logcheck-databaseIgnoring bugs not assigned to: logcheck-database> tags 360120 pendingBug#360120: logcheck-database: logcheck-sudo should treat sudoedit no worse than "sudo vi" Tags were: patch Tags added: pending> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)