Disable logging for a particular user

Michael Reynolds wshs_chat at yahoo.com
Mon Mar 24 16:28:14 EST 2003

--- "Todd C. Miller" <Todd.Miller at courtesan.com> wrote:
> In message <20030324195516.24413.qmail at web11604.mail.yahoo.com>
> 	so spake Michael Reynolds (wshs_chat):
> > I have a script which uses sudo to perform some restricted tasks. 
> I
> > read through the documentation on how to disable logging to syslog.
>  It
> > says to use !syslog.  So.. I use the following line to disable the
> > logging for joescript:
> > Defaults:joescript !lecture, !authenticate, !syslog
> > I'm not sure why, but this does not work.  Could someone give me
> some
> > pointers?  Thanks in advance.
> That syntax will affect a user "joescript", not a command
> "joescript".
> There is currently no way to modify the defaults on a per-command
> basis.
>  - todd

That's what I want it to do, work on the user 'joescript.'  However, it
still logs, even with the !syslog directive.

Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!

More information about the sudo-users mailing list