[sudo-users] Syntax for turning logging compression off

Todd C. Miller Todd.Miller at sudo.ws
Fri Jan 12 11:32:22 MST 2018


On Fri, 12 Jan 2018 18:26:02 +0000, David Livingstone wrote:

> Just downloaded installed sudo-1.8.21-3 on RHEL and noted that the
> sudo logging is now compressed(gzip) by default. My previous
> installation of 1.8.6  does not have the compression on by default.
>
> So the question is how do I turn the compression off ? The default
> installation does not include a sudo.conf file so I was trying to
> modify the compress_io flag in the sudoers file without success.
>
> Yes I looked at the sudoers man page however the correct Default_Entry
> syntax eludes me.

Just add the following line to your sudoers file:

Defaults !compress_io

 - todd


More information about the sudo-users mailing list