[sudo-users] Syntax for turning logging compression off

David Livingstone David.Livingstone at cn.ca
Fri Jan 12 12:04:06 MST 2018


Todd - Thanks yes that works. Maybe just me but not all that obvious reading the man page ...

-----Original Message-----
From: Todd C. Miller [mailto:Todd.Miller at sudo.ws] 
Sent: Friday, January 12, 2018 11:32 AM
To: David Livingstone <David.Livingstone at cn.ca>
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] Syntax for turning logging compression off

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