Disable logging for a particular user
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.
> > read through the documentation on how to disable logging to syslog.
> > 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
> > pointers? Thanks in advance.
> That syntax will affect a user "joescript", not a command
> There is currently no way to modify the defaults on a per-command
> - 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