[sudo-users] Clarification of maxseq and logging

Scott Birl ScottBirl at temple.edu
Fri Feb 23 07:49:40 MST 2018


On Fri, 23 Feb 2018 9:10:00 -0500, Todd C. Miller wrote:
>On Thu, 22 Feb 2018 19:00:18 +0000, Scott Birl wrote:
> 
>> By setting maxseq to 370 on server1, can I assume (with a value of  
>> 0000AA) the first two directories will always be 00/00 and the third
>> directory to range from 00 to AA?  (Effectively a total of 372 
>> directories underneath /var/log/sudo-io).
>>
>> By setting maxseq to 370 on server2, I should expect 00/00/[00-AA] per
>> user, correct?
> 
> That is correct.  The sequence number is formatted as a 6-digit
> base-36 number with leading zeroes.  So for a maxseq of 370 the 
> pathnames will be 00/00/00 - 00/00/AA.
>
> - todd


Thanks, Todd.

Follow-up question: I read that by setting maxseq previous directories
will need to be manually cleaned up, which is fine, but in the meantime
will sudo still limit itself to logging to 00/00/00 - 00/00/AA ?




More information about the sudo-users mailing list