excluding a user from all sudo logging

Peter Smith <[email protected]> Fri, 13 Sep 2019 04:47:50 +0000
Newsgroups gmane.comp.tools.sudo.user
Message-ID <SYCPR01MB43185C160EC0391FB6CC3395E6B30@SYCPR01MB4318.ausprd01.prod.outlook.com>
Hey, sudo-users peeps.

I've RTFM, and STFW, but stumped on this one:

I'm trying to exclude a single user from all sudo logging.

  * We're using logging via sudo-io for sudoreplay.
14:33<https://studiosysadmins.slack.com/archives/C1WCYK742/p1568349210066000>
  * The user is ServiceNow, doing it's "service discovery" part, and it's being fully logged, and we're running out of inodes.
14:36<https://studiosysadmins.slack.com/archives/C1WCYK742/p1568349400066800>
  * Further complicated by Centos 6, and hence "sudo-1.8.6.xxx" which pre-dates the "maxseq" facility ...


I've tried: Defaults:servicenow !syslog

And also managed to suppress the input and output.

But the files and dirs are still created under /var/log/sudo-io/, even if empty.

Pointers appreciated!

TIA

Pete Smith
--

***** The contents of this email and its attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed. *****
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users