Package: sudo
Version: 1.7.2p6-1
Severity: wishlist

For certain rules, it might make sense to inhibit logging. I run
a command via sudo from cron every minute, and every minute this
gets logged into syslog. I can disable logging altogether, but
I really just want t inhibit it for this rule.

How about something like:

  myuser ALL=(root) NOPASSWD NOLOGGIN: /path/to/my/command

?

-- System Information:
Debian Release: squeeze/sid
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sudo depends on:
ii  libc6                         2.10.2-7   Embedded GNU C Library: Shared lib
ii  libpam-modules                1.1.1-3    Pluggable Authentication Modules f
ii  libpam0g                      1.1.1-3    Pluggable Authentication Modules l

sudo recommends no packages.

sudo suggests no packages.

-- Configuration Files:
/etc/sudoers.d/README [Errno 13] Permission denied: u'/etc/sudoers.d/README'

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to