Re: excluding a user from all sudo logging
Peter Smith <[email protected]> Fri, 13 Sep 2019 05:07:45 +0000
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <SYCPR01MB43184C03B6AB1C00683AC9D5E6B30@SYCPR01MB4318.ausprd01.prod.outlook.com> |
-----Original Message----- From: [email protected] <[email protected]> Sent: 13 September 2019 14:55 To: Peter Smith <[email protected]> Subject: Re: [sudo-users] excluding a user from all sudo logging On 2019-09-13 04:47+0000, Peter Smith wrote: > I've tried: Defaults:servicenow !syslog What does sudo -l -U servicenow give you? -- Best regards, Ed I get: Matching Defaults entries for servicenow on this host: !visiblepw, always_set_home, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR LS_COLORS", env_keep+="MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", secure_path=/sbin\:/bin\:/usr/sbin\:/usr/bin, !syslog, !log_output, !log_input, log_output, log_input User servicenow may run the following commands on this host: (root) NOPASSWD: /<hidden> Hmmm. So I guess the latter "log_output, log_input", trumps the previous "!log_output, !log_input" ? ***** 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